Module: Knodes::Client::Companies
- Included in:
- Knodes::Client
- Defined in:
- lib/knodes/client/companies.rb
Instance Method Summary collapse
- #companies_search(options = {}) ⇒ Object
- #company(options = {}) ⇒ Object
- #company_people(options = {}) ⇒ Object
Instance Method Details
#companies_search(options = {}) ⇒ Object
8 9 10 |
# File 'lib/knodes/client/companies.rb', line 8 def companies_search(={}) response = get("companies/search", .merge(creds)) end |
#company(options = {}) ⇒ Object
4 5 6 |
# File 'lib/knodes/client/companies.rb', line 4 def company(={}) response = get("companies/#{[:company_id]}", .merge(creds)) end |
#company_people(options = {}) ⇒ Object
12 13 14 |
# File 'lib/knodes/client/companies.rb', line 12 def company_people(={}) response = get("companies/#{[:company_id]}/people", .merge(creds)) end |