Method: Fog::Parsers::AWS::AutoScaling::PutScalingPolicy#end_element

Defined in:
lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb

#end_element(name) ⇒ Object



13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb', line 13

def end_element(name)
  case name
  when 'PolicyARN'
    @results[name] = value

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

  when 'PutScalingPolicyResponse'
    @response['PutScalingPolicyResult'] = @results
  end
end