Sha256: 4966c806f9c5212ba985b9505c694989a8ae13d8dd618ea2f2272e5e9597f136

Contents?: true

Size: 568 Bytes

Versions: 4

Compression:

Stored size: 568 Bytes

Contents

module Fog
  module Parsers
    module AWS
      module SES

        class GetSendQuota < Fog::Parsers::Base

          def reset
            @response = { 'GetSendQuotaResult' => {}, 'ResponseMetadata' => {} }
          end

          def end_element(name)
            case name
            when "Max24HourSend", "MaxSendRate", "SentLast24Hours"
              @response['GetSendQuotaResult'][name] = @value
            when 'RequestId'
              @response['ResponseMetadata'][name] = @value
            end
          end

        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/parsers/ses/get_send_quota.rb
phpfog-fog-0.4.1.2 lib/fog/aws/parsers/ses/get_send_quota.rb
phpfog-fog-0.4.1.1 lib/fog/aws/parsers/ses/get_send_quota.rb
phpfog-fog-0.4.1 lib/fog/aws/parsers/ses/get_send_quota.rb