Class: TimeDoctor::Core::AbsentAndLate
- Inherits:
-
Base
- Object
- Base
- TimeDoctor::Core::AbsentAndLate
show all
- Defined in:
- lib/timedoctor/core/absent_late.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#list(company_id:, **params) ⇒ Object
4
5
6
|
# File 'lib/timedoctor/core/absent_late.rb', line 4
def list(company_id:, **params)
exchange :get, "/v1.1/companies/#{company_id}/absent-and-late", params
end
|
#update(company_id:, **params) ⇒ Object
8
9
10
|
# File 'lib/timedoctor/core/absent_late.rb', line 8
def update(company_id:, **params)
exchange :put, "/v1.1/companies/#{company_id}/absent-and-late", params
end
|