Sha256: 610ecbcb61315430b317016702f3707b530dc558ee9363762b2943f5003aba7a
Contents?: true
Size: 605 Bytes
Versions: 23
Compression:
Stored size: 605 Bytes
Contents
module Fog module Parsers module Compute module AWS class DescribeAddresses < Fog::Parsers::Base def reset @address = {} @response = { 'addressesSet' => [] } end def end_element(name) case name when 'instanceId', 'publicIp' @address[name] = value when 'item' @response['addressesSet'] << @address @address = {} when 'requestId' @response[name] = value end end end end end end end
Version data entries
23 entries across 23 versions & 5 rubygems