class Fog::Parsers::AWS::AutoScaling::DescribeTerminationPolicyTypes
Public Instance Methods
end_element(name)
click to toggle source
# File lib/fog/aws/parsers/auto_scaling/describe_termination_policy_types.rb, line 19 def end_element(name) case name when 'member' if @in_termination_policy_types @results['TerminationPolicyTypes'] << value end when 'TerminationPolicyTypes' @in_termination_policy_types = false when 'RequestId' @response['ResponseMetadata'][name] = value when 'DescribeTerminationPolicyTypesResponse' @response['DescribeTerminationPolicyTypesResult'] = @results end end
reset()
click to toggle source
# File lib/fog/aws/parsers/auto_scaling/describe_termination_policy_types.rb, line 6 def reset @results = { 'TerminationPolicyTypes' => [] } @response = { 'DescribeTerminationPolicyTypesResult' => {}, 'ResponseMetadata' => {} } end
start_element(name, attrs = [])
click to toggle source
Calls superclass method
# File lib/fog/aws/parsers/auto_scaling/describe_termination_policy_types.rb, line 11 def start_element(name, attrs = []) super case name when 'TerminationPolicyTypes' @in_termination_policy_types = true end end