Class: Svix::StatisticsAPI
- Inherits:
-
Object
- Object
- Svix::StatisticsAPI
- Defined in:
- lib/svix/statistics_api.rb
Instance Method Summary collapse
- #aggregate_app_stats(options = {}) ⇒ Object
- #aggregate_event_types(options = {}) ⇒ Object
-
#initialize(api_client) ⇒ StatisticsAPI
constructor
A new instance of StatisticsAPI.
Constructor Details
#initialize(api_client) ⇒ StatisticsAPI
Returns a new instance of StatisticsAPI.
5 6 7 |
# File 'lib/svix/statistics_api.rb', line 5 def initialize(api_client) @api = StatisticsApi.new(api_client) end |
Instance Method Details
#aggregate_app_stats(options = {}) ⇒ Object
9 10 11 |
# File 'lib/svix/statistics_api.rb', line 9 def aggregate_app_stats( = {}) return @api.aggregate_app_stats() end |
#aggregate_event_types(options = {}) ⇒ Object
13 14 15 |
# File 'lib/svix/statistics_api.rb', line 13 def aggregate_event_types( = {}) return @api.aggregate_event_types() end |