Sha256: 8288e256bcfc65b7c428ad6390bdb90e2b7ba0569647a0e95b6f0eda45d39664

Contents?: true

Size: 555 Bytes

Versions: 35

Compression:

Stored size: 555 Bytes

Contents

module Fog
  module Parsers
    module AWS
      module IAM

        class GetUserPolicy < Fog::Parsers::Base
        # http://docs.amazonwebservices.com/IAM/latest/APIReference/API_GetUserPolicy.html

          def reset
            @response = {}
          end

          def end_element(name)
            case name
            when 'UserName', 'PolicyName', 'PolicyDocument'
              @response[name] = value
            when 'RequestId'
              @response[name] = value
            end
          end

        end

      end
    end
  end
end

Version data entries

35 entries across 35 versions & 8 rubygems

Version Path
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/get_user_policy.rb
michiels-fog-1.3.1 lib/fog/aws/parsers/iam/get_user_policy.rb
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/lib/fog/aws/parsers/iam/get_user_policy.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/get_user_policy.rb
fog-1.3.1 lib/fog/aws/parsers/iam/get_user_policy.rb
fog-1.3.0 lib/fog/aws/parsers/iam/get_user_policy.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/get_user_policy.rb
fog-1.2.0 lib/fog/aws/parsers/iam/get_user_policy.rb
ktheory-fog-1.1.2 lib/fog/aws/parsers/iam/get_user_policy.rb
brightbox-cli-0.17.4 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/get_user_policy.rb
brightbox-cli-0.17.3 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/get_user_policy.rb
brightbox-cli-0.17.2 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/get_user_policy.rb
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/get_user_policy.rb
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/get_user_policy.rb
fog-1.1.2 lib/fog/aws/parsers/iam/get_user_policy.rb
fog_tractical-1.1.4 lib/fog/aws/parsers/iam/get_user_policy.rb
fog_tractical-1.1.3 lib/fog/aws/parsers/iam/get_user_policy.rb
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/iam/get_user_policy.rb
fog-1.1.1 lib/fog/aws/parsers/iam/get_user_policy.rb
fog-1.1.0 lib/fog/aws/parsers/iam/get_user_policy.rb