Class/Module Index [+]

Quicksearch

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 21
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 8
def reset
  @results = { 'TerminationPolicyTypes' => [] }
  @response = { 'DescribeTerminationPolicyTypesResult' => {}, 'ResponseMetadata' => {} }
end
start_element(name, attrs = []) click to toggle source
# File lib/fog/aws/parsers/auto_scaling/describe_termination_policy_types.rb, line 13
def start_element(name, attrs = [])
  super
  case name
  when 'TerminationPolicyTypes'
    @in_termination_policy_types = true
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.