Sha256: 6b43a1125325a1a6172484f671eeb4eaffc9a249a7ac45014542107fb38fdbc4

Contents?: true

Size: 1016 Bytes

Versions: 4

Compression:

Stored size: 1016 Bytes

Contents

module Fog
  module AWS
    class SES
      class Real

        require 'fog/aws/parsers/ses/verify_email_address'

        # Verifies an email address. This action causes a confirmation email message to be sent to the specified address.
        #
        # ==== Parameters
        # * email_address<~String> - The email address to be verified
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #     * 'VerifyEmailAddressResult'<~nil>
        #     * 'ResponseMetadata'<~Hash>:
        #       * 'RequestId'<~String> - Id of request
        def verify_email_address(email_address)
          request({
            'Action'           => 'VerifyEmailAddress',
            'EmailAddress'     => email_address,
            :parser            => Fog::Parsers::AWS::SES::VerifyEmailAddress.new
          })
        end

      end

      class Mock

        def verify_email_address(email_address)
          Fog::Mock.not_implemented
        end

      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
phpfog-fog-0.4.1.3 lib/fog/aws/requests/ses/verify_email_address.rb
phpfog-fog-0.4.1.2 lib/fog/aws/requests/ses/verify_email_address.rb
phpfog-fog-0.4.1.1 lib/fog/aws/requests/ses/verify_email_address.rb
phpfog-fog-0.4.1 lib/fog/aws/requests/ses/verify_email_address.rb