Class: Tripletexer::Endpoints::Employee
- Inherits:
-
AbstractEndpoint
- Object
- AbstractEndpoint
- Tripletexer::Endpoints::Employee
- Defined in:
- lib/tripletexer/endpoints/employee.rb
Defined Under Namespace
Classes: Entitlement
Instance Method Summary collapse
Methods inherited from AbstractEndpoint
Constructor Details
This class inherits a constructor from Tripletexer::Endpoints::AbstractEndpoint
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 |