Sha256: f58cb10a6c4163c1699045480b160a524c95ed51160b07f179855b18a25d524f

Contents?: true

Size: 704 Bytes

Versions: 54

Compression:

Stored size: 704 Bytes

Contents

module Fog
  module Parsers
    module AWS
      module IAM
        class ListAccessKeys < Fog::Parsers::Base
          def reset
            @access_key = {}
            @response = { 'AccessKeys' => [] }
          end

          def end_element(name)
            case name
            when 'AccessKeyId', 'Status', 'Username'
              @access_key[name] = value
            when 'member'
              @response['AccessKeys'] << @access_key
              @access_key = {}
            when 'IsTruncated'
              response[name] = (value == 'true')
            when 'Marker', 'RequestId'
              response[name] = value
            end
          end
        end
      end
    end
  end
end

Version data entries

54 entries across 54 versions & 5 rubygems

Version Path
fog-aws-1.4.1 lib/fog/aws/parsers/iam/list_access_keys.rb
fog-aws-1.4.0 lib/fog/aws/parsers/iam/list_access_keys.rb
fog-aws-1.3.0 lib/fog/aws/parsers/iam/list_access_keys.rb
fog-aws-1.2.1 lib/fog/aws/parsers/iam/list_access_keys.rb
fog-aws-1.2.0 lib/fog/aws/parsers/iam/list_access_keys.rb
fog-aws-1.1.0 lib/fog/aws/parsers/iam/list_access_keys.rb
fog-aws-1.0.0 lib/fog/aws/parsers/iam/list_access_keys.rb
fog-aws-0.13.0 lib/fog/aws/parsers/iam/list_access_keys.rb
fog-aws-0.12.0 lib/fog/aws/parsers/iam/list_access_keys.rb
fog-aws-0.11.0 lib/fog/aws/parsers/iam/list_access_keys.rb
fog-aws-0.10.0 lib/fog/aws/parsers/iam/list_access_keys.rb
fog-aws-0.9.4 lib/fog/aws/parsers/iam/list_access_keys.rb
fog-aws-0.9.3 lib/fog/aws/parsers/iam/list_access_keys.rb
fog-aws-0.9.2 lib/fog/aws/parsers/iam/list_access_keys.rb
fog-aws-0.9.1 lib/fog/aws/parsers/iam/list_access_keys.rb
fog-aws-0.9.0 lib/fog/aws/parsers/iam/list_access_keys.rb
fog-aws-0.8.1 lib/fog/aws/parsers/iam/list_access_keys.rb
fog-aws-0.8.0 lib/fog/aws/parsers/iam/list_access_keys.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-aws-0.7.5/lib/fog/aws/parsers/iam/list_access_keys.rb
fog-aws-0.7.6 lib/fog/aws/parsers/iam/list_access_keys.rb