Module: Auth0::Api::V2::Stats

Included in:
Auth0::Api::V2
Defined in:
lib/auth0/api/v2/stats.rb

Overview

Instance Method Summary collapse

Instance Method Details

#active_usersObject



7
8
9
# File 'lib/auth0/api/v2/stats.rb', line 7

def active_users
  get(path)
end

#daily_stats(from, to) ⇒ Object



12
13
14
15
16
17
18
# File 'lib/auth0/api/v2/stats.rb', line 12

def daily_stats(from, to)
  request_params = {
    from: from,
    to: to
  }
  get(path, request_params)
end