Class: Tripletexer::Endpoints::Employee::Entitlement

Inherits:
AbstractEndpoint show all
Defined in:
lib/tripletexer/endpoints/employee/entitlement.rb

Instance Method Summary collapse

Methods inherited from AbstractEndpoint

#initialize

Constructor Details

This class inherits a constructor from Tripletexer::Endpoints::AbstractEndpoint

Instance Method Details

#find(id, params = {}) ⇒ Object



11
12
13
# File 'lib/tripletexer/endpoints/employee/entitlement.rb', line 11

def find(id, params = {})
  find_entity("/v2/employee/entitlement/#{id}", params)
end

#search(params = {}) ⇒ Object



6
7
8
# File 'lib/tripletexer/endpoints/employee/entitlement.rb', line 6

def search(params = {})
  find_entities('/v2/employee/entitlement', params)
end