Sha256: 3ca3db2e0b012d114cdbe5fec080908f19dc6b993074ac3b19da8129be11ab8f

Contents?: true

Size: 428 Bytes

Versions: 8

Compression:

Stored size: 428 Bytes

Contents

# frozen_string_literal: true

require 'intercom/search_collection_proxy'
require 'intercom/utils'

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
intercom-4.2.1 lib/intercom/api_operations/search.rb
intercom-4.2.0 lib/intercom/api_operations/search.rb
intercom-4.1.3 lib/intercom/api_operations/search.rb
intercom-4.1.2 lib/intercom/api_operations/search.rb
intercom-4.1.1 lib/intercom/api_operations/search.rb
intercom-4.1.0 lib/intercom/api_operations/search.rb
intercom-4.0.1 lib/intercom/api_operations/search.rb
intercom-4.0.0 lib/intercom/api_operations/search.rb