Sha256: 138c8ddc914a7148899118ac9db4485118a9af9ed6f6b59965333da38e21d286
Contents?: true
Size: 588 Bytes
Versions: 145
Compression:
Stored size: 588 Bytes
Contents
module Fog module Parsers module Compute module AWS class DescribeTags < Fog::Parsers::Base def reset @tag = {} @response = { 'tagSet' => [] } end def end_element(name) case name when 'resourceId', 'resourceType', 'key', 'value' @tag[name] = value when 'item' @response['tagSet'] << @tag @tag = {} when 'requestId' @response[name] = value end end end end end end end
Version data entries
145 entries across 95 versions & 6 rubygems