Class: TimeDoctor::Core::Companies
- Inherits:
-
Base
- Object
- Base
- TimeDoctor::Core::Companies
show all
- Defined in:
- lib/timedoctor/core/companies.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#create(**params) ⇒ Object
8
9
10
|
# File 'lib/timedoctor/core/companies.rb', line 8
def create(**params)
exchange :post, '/v1.1/companies', params
end
|
#invite_user(**params) ⇒ Object
12
13
14
|
# File 'lib/timedoctor/core/companies.rb', line 12
def invite_user(**params)
exchange :post, '/v1.1/companies/invites', params
end
|
#list(**params) ⇒ Object
4
5
6
|
# File 'lib/timedoctor/core/companies.rb', line 4
def list(**params)
exchange :get, '/v1.1/companies', params
end
|