Sha256: 16fac3373b6500a0b6f769f0416b0f538edd4ccd15672a36a2b9963dec9b4be4

Contents?: true

Size: 886 Bytes

Versions: 6

Compression:

Stored size: 886 Bytes

Contents

module Fog
  module AWS
    class SES
      class Real

        require 'fog/aws/parsers/ses/get_send_quota'

        # Returns the user's current activity limits.
        #
        # ==== Parameters
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #     * 'GetSendQuotaResult'<~Hash>
        #       * 'Max24HourSend' <~String>
        #       * 'MaxSendRate' <~String>
        #       * 'SentLast24Hours' <~String>
        #     * 'ResponseMetadata'<~Hash>:
        #       * 'RequestId'<~String> - Id of request
        def get_send_quota
          request({
            'Action' => 'GetSendQuota',
            :parser  => Fog::Parsers::AWS::SES::GetSendQuota.new
          })
        end

      end

      class Mock

        def get_send_quota
          Fog::Mock.not_implemented
        end

      end

    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

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