Sha256: 6aa2fdfb7b6069956db65246f4a61f1a79ee3182c42263a19487e23837f36c1f

Contents?: true

Size: 906 Bytes

Versions: 4

Compression:

Stored size: 906 Bytes

Contents

module Fog
  module AWS
    class SES
      class Real

        require 'fog/aws/parsers/ses/verify_domain_identity'

        # Verifies a domain. This action returns a verification authorization
        # token which must be added as a DNS TXT record to the domain.
        #
        # ==== Parameters
        # * domain<~String> - The domain to be verified
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #     * 'ResponseMetadata'<~Hash>:
        #       * 'VerificationToken'<~String> - Verification token
        #       * 'RequestId'<~String> - Id of request
        def verify_domain(domain)
          request({
            'Action'           => 'VerifyDomainIdentity',
            'Domain'           => domain,
            :parser            => Fog::Parsers::AWS::SES::VerifyDomainIdentity.new
          })
        end

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
gapinc-fog-1.12.1.2.1 lib/fog/aws/requests/ses/verify_domain_identity.rb
fog-1.14.0 lib/fog/aws/requests/ses/verify_domain_identity.rb
fog-1.13.0 lib/fog/aws/requests/ses/verify_domain_identity.rb
gapinc-fog-1.12.1.2 lib/fog/aws/requests/ses/verify_domain_identity.rb