Sha256: a6dac951edc4a950139329f0c0ebb1aca001e1a39def2eb72c0e1516f60e1080
Contents?: true
Size: 447 Bytes
Versions: 53
Compression:
Stored size: 447 Bytes
Contents
module Fog module Parsers module Terremark module Shared class PublicIp < Fog::Parsers::Base def reset @response = {} end def end_element(name) case name when 'Href', 'Name' @response[name.downcase] = value when 'Id' @response['id'] = value.to_i end end end end end end end
Version data entries
53 entries across 53 versions & 15 rubygems