Module: Knodes::Client::Locations

Included in:
Knodes::Client
Defined in:
lib/knodes/client/locations.rb

Instance Method Summary collapse

Instance Method Details

#location(options = {}) ⇒ Object



4
5
6
# File 'lib/knodes/client/locations.rb', line 4

def location(options={})
  response = get("locations/#{options[:location_id]}", options.merge(creds))
end

#location_documents(options = {}) ⇒ Object



16
17
18
# File 'lib/knodes/client/locations.rb', line 16

def location_documents(options={})
  response = get("locations/#{options[:location_id]}/documents", options.merge(creds))
end

#location_people(options = {}) ⇒ Object



12
13
14
# File 'lib/knodes/client/locations.rb', line 12

def location_people(options={})
  response = get("locations/#{options[:location_id]}/people", options.merge(creds))
end

#locations_search(options = {}) ⇒ Object



8
9
10
# File 'lib/knodes/client/locations.rb', line 8

def locations_search(options={})
  response = get("locations/search", options.merge(creds))
end