Sha256: 55e68517b3d3eb18705f3955aa990c363a1583f0161e44861ee720d563bc05dd

Contents?: true

Size: 527 Bytes

Versions: 7

Compression:

Stored size: 527 Bytes

Contents

module Fog
  module Parsers
    module AWS
      module IAM

        class UploadSigningCertificate < Fog::Parsers::Base

          def reset
            @response = { 'Certificate' => {} }
          end

          def end_element(name)
            case name
            when 'CertificateId', 'UserName', 'CertificateBody', 'Status'
              @response['Certificate'][name] = @value
            when 'RequestId'
              @response[name] = @value
            end
          end

        end

      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fog-0.7.2 lib/fog/aws/parsers/iam/upload_signing_certificate.rb
fog-0.7.1 lib/fog/aws/parsers/iam/upload_signing_certificate.rb
fog-0.7.0 lib/fog/aws/parsers/iam/upload_signing_certificate.rb
fog-0.6.0 lib/fog/aws/parsers/iam/upload_signing_certificate.rb
fog-0.5.3 lib/fog/aws/parsers/iam/upload_signing_certificate.rb
fog-0.5.2 lib/fog/aws/parsers/iam/upload_signing_certificate.rb
fog-0.5.1 lib/fog/aws/parsers/iam/upload_signing_certificate.rb