Class: Svix::StatisticsAPI

Inherits:
Object
  • Object
show all
Defined in:
lib/svix/statistics_api.rb

Instance Method Summary collapse

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(options = {})
  return @api.aggregate_app_stats(options)
end

#aggregate_event_types(options = {}) ⇒ Object



13
14
15
# File 'lib/svix/statistics_api.rb', line 13

def aggregate_event_types(options = {})
  return @api.aggregate_event_types(options)
end