Sha256: ea324b698b050ec9c3e741f4e9fa94a1dce588301f62b9d07c91e5898f98e222

Contents?: true

Size: 650 Bytes

Versions: 97

Compression:

Stored size: 650 Bytes

Contents

module Fog
  module Parsers
    module AWS
      module AutoScaling
        class PutScalingPolicy < Fog::Parsers::Base
          def reset
            @results = {}
            @response = { 'PutScalingPolicyResult' => {}, 'ResponseMetadata' => {} }
          end

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

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

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

Version data entries

97 entries across 95 versions & 6 rubygems

Version Path
fog-aws-3.29.0 lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb
fog-aws-3.28.0 lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb
fog-aws-3.27.0 lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb
fog-aws-3.26.0 lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb
fog-aws-3.25.0 lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb
fog-aws-3.24.0 lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb
fog-aws-3.23.0 lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb
fog-aws-3.22.0 lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb
fog-aws-3.21.1 lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb
fog-aws-3.21.0 lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb
fog-aws-3.20.0 lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb
fog-aws-3.19.0 lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb
fog-aws-3.18.0 lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb
fog-aws-3.17.0 lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb
fog-aws-3.16.0 lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb
fog-aws-3.15.0 lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb
fog-aws-3.14.0 lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb
fog-aws-3.13.0 lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb
fog-aws-3.12.0 lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb
fog-aws-3.11.0 lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb