Sha256: 531218d307dad98dded732b782d24ed607ee5a6de3aa55c89c17cc5ce0930e2c

Contents?: true

Size: 585 Bytes

Versions: 4

Compression:

Stored size: 585 Bytes

Contents

module Fog
  module Parsers
    module AWS
      module IAM

        class UpdateUser < Fog::Parsers::Base
        # http://docs.amazonwebservices.com/IAM/latest/APIReference/index.html?API_UpdateUser.html
        
          def reset
            @response = { 'User' => {} }
          end

          def end_element(name)
            case name
            when 'Arn', 'UserId', 'UserName', 'Path'
              @response['User'][name] = @value
            when 'RequestId'
              @response[name] = @value
            end
          end

        end

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fog-0.7.2 lib/fog/aws/parsers/iam/update_user.rb
fog-0.7.1 lib/fog/aws/parsers/iam/update_user.rb
fog-0.7.0 lib/fog/aws/parsers/iam/update_user.rb
fog-0.6.0 lib/fog/aws/parsers/iam/update_user.rb