Class: Kandji::Users

Inherits:
Client show all
Defined in:
lib/kandji/users.rb

Constant Summary

Constants inherited from Client

Client::API_VERSION

Class Method Summary collapse

Methods inherited from Client

build_url, get, headers, paginated_cursor_get, paginated_get

Class Method Details

.all(params = {}) ⇒ Object



5
6
7
# File 'lib/kandji/users.rb', line 5

def self.all(params = {})
  paginated_cursor_get("users", params)
end

.find(id) ⇒ Object



9
10
11
# File 'lib/kandji/users.rb', line 9

def self.find(id)
  get("users/#{id}")
end