Module: Desk::Api::Searchable

Included in:
Articles, Cases, Companies, Customers
Defined in:
lib/desk/api/modules/searchable.rb

Instance Method Summary collapse

Instance Method Details

#search(opts = {}) ⇒ Object



5
6
7
8
9
# File 'lib/desk/api/modules/searchable.rb', line 5

def search(opts={})
  params = opts.slice(*valid_search_params)

  connection.get("#{endpoint}/search", params)
end