Sha256: 9cdde39aac2f8a922d11e9955f27a473bef45590e05bcd123570984236227c45
Contents?: true
Size: 777 Bytes
Versions: 98
Compression:
Stored size: 777 Bytes
Contents
module Fog module Parsers module AWS module CloudFormation class DescribeStackResources < Fog::Parsers::Base def reset @resource = {} @response = { 'StackResources' => [] } end def end_element(name) case name when 'StackId', 'StackName', 'LogicalResourceId', 'PhysicalResourceId', 'ResourceType', 'ResourceStatus' @resource[name] = value when 'member' @response['StackResources'] << @resource @resource = {} when 'RequestId' @response[name] = value when 'Timestamp' @resource[name] = Time.parse(value) end end end end end end end
Version data entries
98 entries across 96 versions & 6 rubygems