Sha256: c60ebe2688ee3534508c3d4589ce690a83cb49c621d6ad2c6343d483b632b731
Contents?: true
Size: 449 Bytes
Versions: 115
Compression:
Stored size: 449 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
115 entries across 115 versions & 4 rubygems