# File lib/fog/slicehost/parsers/compute/get_flavor.rb, line 12 def end_element(name) case name when 'id', 'price', 'ram' @response[name] = value.to_i when 'name' @response[name] = value end end