class PipedriveRuby::SearchResults

Ordered reference objects, pointing to either Deals, Persons, Organizations, Files or Products.

Public Instance Methods

field(params={}) click to toggle source

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.

# File lib/resources/search_results.rb, line 7
def field(params={})
  options = {:params => params}
  options[:path] = 'field'
  custom_get(options)
end