class Fog::Parsers::Compute::Voxel::Basic
Public Instance Methods
reset()
click to toggle source
# File lib/fog/parsers/compute/voxel/basic.rb, line 6 def reset @response = {} end
start_element(name, attrs = [])
click to toggle source
Calls superclass method
# File lib/fog/parsers/compute/voxel/basic.rb, line 10 def start_element(name, attrs = []) super case name when 'err' @response['err'] = { 'code' => attr_value('code', attrs), 'msg' => attr_value('msg', attrs) } when 'rsp' @response['stat'] = attr_value('stat', attrs) end end