Class: Fog::Parsers::AWS::AutoScaling::PutScalingPolicy
- Inherits:
-
Base
- Object
- Base
- Fog::Parsers::AWS::AutoScaling::PutScalingPolicy
- Defined in:
- lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb
Instance Method Summary collapse
Instance Method Details
#end_element(name) ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb', line 11 def end_element(name) case name when 'PolicyARN' @results[name] = value when 'RequestId' @response['ResponseMetadata'][name] = value when 'PutScalingPolicyResponse' @response['PutScalingPolicyResult'] = @results end end |
#reset ⇒ Object
6 7 8 9 |
# File 'lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb', line 6 def reset @results = {} @response = { 'PutScalingPolicyResult' => {}, 'ResponseMetadata' => {} } end |