Class: PipedriveRuby::SearchResults
- Defined in:
- lib/resources/search_results.rb
Overview
Ordered reference objects, pointing to either Deals, Persons, Organizations, Files or Products.
Instance Attribute Summary
Attributes inherited from Base
#base_url, #client, #endpoints
Instance Method Summary collapse
-
#field(params = {}) ⇒ Object
Performs a search from a specific field's values.
Methods inherited from Base
Constructor Details
This class inherits a constructor from PipedriveRuby::Base
Instance Method Details
#field(params = {}) ⇒ Object
Performs a search from a specific field's values. Results can be either the distinct values of the field (useful for searching autocomplete field values), or actual items IDs (deals, persons, organizations or products). Works only with the following field types: varchar, varchar_auto, double, address, text, phone, date.
7 8 9 10 11 |
# File 'lib/resources/search_results.rb', line 7 def field(params={}) = {:params => params} [:path] = 'field' custom_get() end |