Sha256: 1928bf2e1331e39d1724d055e52170e0e3bad4c82879ff5d375fa46c2487a503
Contents?: true
Size: 440 Bytes
Versions: 14
Compression:
Stored size: 440 Bytes
Contents
module Fog module Parsers module Terremark module Shared class PublicIp < TerremarkParser 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
14 entries across 14 versions & 4 rubygems