Class: FortyTwo::Endpoint::Users

Inherits:
Object
  • Object
show all
Defined in:
lib/fortytwo/endpoints/users.rb

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Users

Returns a new instance of Users.



7
8
9
# File 'lib/fortytwo/endpoints/users.rb', line 7

def initialize(client)
  @client = client
end

Instance Method Details

#users(campus = nil, pool_year = nil, pool_month = nil, params = { page: 1, per_page: 100 }) ⇒ Object



11
12
13
# File 'lib/fortytwo/endpoints/users.rb', line 11

def users(campus = nil, pool_year = nil, pool_month = nil, params = { page: 1, per_page: 100 })
  Response::Users.new(users_request(campus, pool_year, pool_month, params))
end