Fog::Parsers::Base
# File lib/fog/slicehost/parsers/compute/get_images.rb, line 13 def end_element(name) case name when 'id' @image[name] = value.to_i when 'image' @response['images'] << @image @image = {} when 'name' @image[name] = value end end
# File lib/fog/slicehost/parsers/compute/get_images.rb, line 8 def reset @image = {} @response = { 'images' => [] } end
[Validate]
Generated with the Darkfish Rdoc Generator 2.