Module: Knodes::Client::Locations
- Included in:
- Knodes::Client
- Defined in:
- lib/knodes/client/locations.rb
Instance Method Summary collapse
- #location(options = {}) ⇒ Object
- #location_documents(options = {}) ⇒ Object
- #location_people(options = {}) ⇒ Object
- #locations_search(options = {}) ⇒ Object
Instance Method Details
#location(options = {}) ⇒ Object
4 5 6 |
# File 'lib/knodes/client/locations.rb', line 4 def location(={}) response = get("locations/#{[:location_id]}", .merge(creds)) end |
#location_documents(options = {}) ⇒ Object
16 17 18 |
# File 'lib/knodes/client/locations.rb', line 16 def location_documents(={}) response = get("locations/#{[:location_id]}/documents", .merge(creds)) end |
#location_people(options = {}) ⇒ Object
12 13 14 |
# File 'lib/knodes/client/locations.rb', line 12 def location_people(={}) response = get("locations/#{[:location_id]}/people", .merge(creds)) end |
#locations_search(options = {}) ⇒ Object
8 9 10 |
# File 'lib/knodes/client/locations.rb', line 8 def locations_search(={}) response = get("locations/search", .merge(creds)) end |