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

Constructor Details

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

Instance Method Details

#data_pointsObject


95
96
97
# File 'lib/aws/ses/info.rb', line 95

def data_points
  result
end

#resultObject


85
86
87
88
89
90
91
# File 'lib/aws/ses/info.rb', line 85

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