Module: Intercom::ApiOperations::Search

Included in:
Service::Contact, Service::Conversation
Defined in:
lib/intercom/api_operations/search.rb

Instance Method Summary collapse

Instance Method Details

#search(params) ⇒ Object



9
10
11
12
13
14
15
# File 'lib/intercom/api_operations/search.rb', line 9

def search(params)
  search_details = {
    url: "/#{collection_name}/search",
    params: params
  }
  SearchCollectionProxy.new(collection_name, collection_class, details: search_details, client: @client)
end