Files

Class/Module Index [+]

Quicksearch

Fog::Parsers::AWS::AutoScaling::DescribeAdjustmentTypes

Public Instance Methods

end_element(name) click to toggle source
# File lib/fog/aws/parsers/auto_scaling/describe_adjustment_types.rb, line 18
def end_element(name)
  case name
  when 'member'
    @results['AdjustmentTypes'] << @adjustment_type
    reset_adjustment_type

  when 'AdjustmentType'
    @adjustment_type[name] = value

  when 'RequestId'
    @response['ResponseMetadata'][name] = value

  when 'DescribeAdjustmentTypesResponse'
    @response['DescribeAdjustmentTypesResult'] = @results
  end
end
reset() click to toggle source
# File lib/fog/aws/parsers/auto_scaling/describe_adjustment_types.rb, line 8
def reset
  reset_adjustment_type
  @results = { 'AdjustmentTypes' => [] }
  @response = { 'DescribeAdjustmentTypesResult' => {}, 'ResponseMetadata' => {} }
end
reset_adjustment_type() click to toggle source
# File lib/fog/aws/parsers/auto_scaling/describe_adjustment_types.rb, line 14
def reset_adjustment_type
  @adjustment_type = {}
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.