Class/Module Index [+]

Quicksearch

Fog::Parsers::AWS::AutoScaling::DescribeScalingProcessTypes

Public Instance Methods

end_element(name) click to toggle source
# File lib/fog/aws/parsers/auto_scaling/describe_scaling_process_types.rb, line 26
def end_element(name)
  case name
  when 'member'
    if @in_processes
      @results['Processes'] << @process_type
      reset_process_type
    end

  when 'ProcessName'
    @process_type[name] = value

  when 'Processes'
    @in_processes = false

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

  when 'DescribeScalingProcessTypesResponse'
    @response['DescribeScalingProcessTypesResult'] = @results
  end
end
reset() click to toggle source
# File lib/fog/aws/parsers/auto_scaling/describe_scaling_process_types.rb, line 8
def reset
  reset_process_type
  @results = { 'Processes' => [] }
  @response = { 'DescribeScalingProcessTypesResult' => {}, 'ResponseMetadata' => {} }
end
reset_process_type() click to toggle source
# File lib/fog/aws/parsers/auto_scaling/describe_scaling_process_types.rb, line 14
def reset_process_type
  @process_type = {}
end
start_element(name, attrs = []) click to toggle source
# File lib/fog/aws/parsers/auto_scaling/describe_scaling_process_types.rb, line 18
def start_element(name, attrs = [])
  super
  case name
  when 'Processes'
    @in_processes = true
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.