Sha256: 22855c3fbbcc886b2ce178dc7277fbf25af5410d2a775eab31fa49666dc1c0a1

Contents?: true

Size: 560 Bytes

Versions: 10

Compression:

Stored size: 560 Bytes

Contents

module Auth0
  module Api
    module V2
      # https://auth0.com/docs/apiv2#!/stats
      module Stats
        #https://auth0.com/docs/apiv2#!/stats/get_active_users
        def active_users
          path = "/api/v2/stats/active-users"
          get(path)
        end

        #https://auth0.com/docs/apiv2#!/stats/get_daily
        def daily_stats(from, to)
          path = "/api/v2/stats/daily"
          request_params = {
            from: from,
            to: to
          }
          get(path, request_params)
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
auth0-3.6.1 lib/auth0/api/v2/stats.rb
auth0-3.6.0 lib/auth0/api/v2/stats.rb
auth0-3.5.0 lib/auth0/api/v2/stats.rb
auth0-3.4.0 lib/auth0/api/v2/stats.rb
auth0-3.3.0 lib/auth0/api/v2/stats.rb
auth0-3.2.0 lib/auth0/api/v2/stats.rb
auth0-3.1.2 lib/auth0/api/v2/stats.rb
auth0-3.1.1 lib/auth0/api/v2/stats.rb
auth0-3.1.0 lib/auth0/api/v2/stats.rb
auth0-3.0.0 lib/auth0/api/v2/stats.rb