Class: AWS::SES::GetSendStatisticsResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/aws/ses/info.rb

Instance Attribute Summary

Attributes inherited from Response

#action, #body, #parsed, #response

Instance Method Summary collapse

Methods inherited from Response

#[], #code, #each, #error, #error?, #headers, #initialize, #inspect, #request_id

Methods included from ExpirableMemoize::ClassMethods

#memoized

Methods included from ExpirableMemoize::InstanceMethods

#__called_from__, #__method__, #expirable_memoize

Constructor Details

This class inherits a constructor from AWS::SES::Response

Instance Method Details

#data_pointsObject



98
99
100
# File 'lib/aws/ses/info.rb', line 98

def data_points
  result
end

#resultObject



88
89
90
91
92
93
94
# File 'lib/aws/ses/info.rb', line 88

def result
  if members = parsed['GetSendStatisticsResult']['SendDataPoints']
    [members['member']].flatten
  else
    []
  end
end