# 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