Sha256: 7087a76048fe43d299b57abe663233ca57540d8332b6b7eaf5d2d1b11039d784
Contents?: true
Size: 603 Bytes
Versions: 116
Compression:
Stored size: 603 Bytes
Contents
module Fog module Parsers module AWS module EC2 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
116 entries across 116 versions & 2 rubygems