Sha256: 949a285aa5002c31dac6fa51bfaf6ea4932eb80c62342571b60f884069232201
Contents?: true
Size: 607 Bytes
Versions: 50
Compression:
Stored size: 607 Bytes
Contents
module Fog module Parsers module AWS module Compute 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
50 entries across 50 versions & 3 rubygems