module Knodes::Client::People
Public Instance Methods
people_search(options={})
click to toggle source
# File lib/knodes/client/people.rb, line 8 def people_search(options={}) options.merge!({ :type=> "people" }) response = get("people/search", options.merge(creds)) end
person(options={})
click to toggle source
# File lib/knodes/client/people.rb, line 4 def person(options={}) response = get("people/#{options[:person_id]}", options.merge(creds)) end
person_companies(options={})
click to toggle source
# File lib/knodes/client/people.rb, line 26 def person_companies(options={}) response = get("people/#{options[:person_id]}/documents", options.merge(creds)) end
person_documents(options={})
click to toggle source
# File lib/knodes/client/people.rb, line 18 def person_documents(options={}) response = get("people/#{options[:person_id]}/documents", options.merge(creds)) end
person_locations(options={})
click to toggle source
# File lib/knodes/client/people.rb, line 22 def person_locations(options={}) response = get("people/#{options[:person_id]}/locations", options.merge(creds)) end
person_people(options={})
click to toggle source
# File lib/knodes/client/people.rb, line 13 def person_people(options={}) options.merge!({:type=>"people", :q=>""}) response = get("search", options.merge(creds)) end
person_schools(options={})
click to toggle source
# File lib/knodes/client/people.rb, line 30 def person_schools(options={}) response = get("people/#{options[:person_id]}/documents", options.merge(creds)) end