Sha256: ddb1363a62000e4f2a208c0a731c00f944bcc6ab5aa5f49100bc059b882df9f2

Contents?: true

Size: 582 Bytes

Versions: 4

Compression:

Stored size: 582 Bytes

Contents

module Fog
  module Parsers
    module AWS
      module IAM

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

          def end_element(name)
            case name
            when 'Arn', 'GroupId', 'GroupName', 'Path'
              @response['Group'][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_group.rb
fog-0.7.1 lib/fog/aws/parsers/iam/update_group.rb
fog-0.7.0 lib/fog/aws/parsers/iam/update_group.rb
fog-0.6.0 lib/fog/aws/parsers/iam/update_group.rb