Sha256: 5e780840bfde678d77474e663e9a565bf328898d94b2ff4051cbdc26a85e10c2
Contents?: true
Size: 860 Bytes
Versions: 53
Compression:
Stored size: 860 Bytes
Contents
module Fog module Parsers module AWS module CloudFormation class DescribeStackResource < Fog::Parsers::Base def reset @resource = {} @response = { 'StackResourceDetail' => {} } end def end_element(name) case name when 'Description','LogicalResourceId', 'Metadata', 'PhysicalResourceId', 'ResourceStatus', 'ResourceStatusReason', 'ResourceType', 'StackId', 'StackName' @resource[name] = value when 'StackResourceDetail' @response['StackResourceDetail'] = @resource @resource = {} when 'RequestId' @response[name] = value when 'LastUpdatedTimestamp' @resource[name] = Time.parse(value) end end end end end end end
Version data entries
53 entries across 51 versions & 2 rubygems