1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/compute/parsers/voxel/voxcloud_delete.rb

29 lines
517 B
Ruby
Raw Normal View History

2011-02-20 22:01:28 -05:00
module Fog
module Parsers
module Voxel
module Compute
class VoxcloudDelete < Fog::Parsers::Base
def reset
@response = { :stat => nil }
end
def start_element(name, attrs = [])
super
case name
when 'rsp'
@response[:stat] = attr_value('stat', attrs)
when 'err'
@response[:error] = attr_value('msg', attrs)
end
end
end
end
end
end
end