Sha256: 0417d28752e56c4973f2af637a8301a306439b620547cae7b0e7266c6a1037f5

Contents?: true

Size: 1.02 KB

Versions: 6

Compression:

Stored size: 1.02 KB

Contents

module Fog
  module AWS
    class SES
      class Real

        require 'fog/aws/parsers/ses/get_send_statistics'

        # Returns the user's current activity limits.
        #
        # ==== Parameters
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #     * 'GetSendStatisticsResult'<~Hash>
        #       * 'SendDataPoints' <~Array>
        #         * 'Bounces' <~String>
        #         * 'Complaints' <~String>
        #         * 'DeliveryAttempts' <~String>
        #         * 'Rejects' <~String>
        #         * 'Timestamp' <~String>
        #     * 'ResponseMetadata'<~Hash>:
        #       * 'RequestId'<~String> - Id of request
        def get_send_statistics
          request({
            'Action' => 'GetSendStatistics',
            :parser  => Fog::Parsers::AWS::SES::GetSendStatistics.new
          })
        end

      end

      class Mock

        def get_send_statistics
          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_statistics.rb
fog-0.5.0 lib/fog/aws/requests/ses/get_send_statistics.rb
phpfog-fog-0.4.1.3 lib/fog/aws/requests/ses/get_send_statistics.rb
phpfog-fog-0.4.1.2 lib/fog/aws/requests/ses/get_send_statistics.rb
phpfog-fog-0.4.1.1 lib/fog/aws/requests/ses/get_send_statistics.rb
phpfog-fog-0.4.1 lib/fog/aws/requests/ses/get_send_statistics.rb