1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/aws/requests/ses/get_send_quota.rb
Andy Delcambre 284430f526 Initial work on AWS SES (Simple Email Service)
* All parsers filled out
* Requests mostly filled out
* SendEmail and SendRawEmail still need to be implemented
2011-01-26 04:46:27 +08:00

40 lines
886 B
Ruby

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