Sha256: c4d5d3515d3c1fa383c35d861df4738cbbb9a7d681ba08d0bec3eb3d5d2a7ba2

Contents?: true

Size: 475 Bytes

Versions: 1

Compression:

Stored size: 475 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
          get(path)
        end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
auth0-ruby-0.10 lib/auth0/api/v2/stats.rb