Sha256: 7059e57ef8f623bb2ace32ac63c4e0c03781fa6fb5cf4296f3833f2245b55cd9
Contents?: true
Size: 393 Bytes
Versions: 100
Compression:
Stored size: 393 Bytes
Contents
module Fog module Parsers module Slicehost class GetFlavor < Fog::Parsers::Base def reset @response = {} end def end_element(name) case name when 'id', 'price', 'ram' @response[name] = @value.to_i when 'name' @response[name] = @value end end end end end end
Version data entries
100 entries across 100 versions & 2 rubygems