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