Class: Tripletexer::Endpoints::Employee
Defined Under Namespace
Classes: Entitlement
Instance Method Summary
collapse
#initialize
Instance Method Details
#entitlement ⇒ Object
15
16
17
|
# File 'lib/tripletexer/endpoints/employee.rb', line 15
def entitlement
Tripletexer::Endpoints::Employee::Entitlement.new(api_client)
end
|
#find(id, params = {}) ⇒ Object
11
12
13
|
# File 'lib/tripletexer/endpoints/employee.rb', line 11
def find(id, params = {})
find_entity("/v2/employee/#{id}", params)
end
|
#search(params = {}) ⇒ Object
6
7
8
|
# File 'lib/tripletexer/endpoints/employee.rb', line 6
def search(params = {})
find_entities('/v2/employee', params)
end
|