Class: Infopark::Crm::Account

Inherits:
Core::Resource show all
Defined in:
lib/crm_connector/account.rb

Class Method Summary collapse

Class Method Details

.search(input) ⇒ Core::Enumerator<Infopark::Crm::Account>

Searches for accounts

Examples:

results = Infopark::Crm::Account.search(:params => {:account_group => 'account_group_name'})
results = Infopark::Crm::Account.search(:params => {:q => 'full-text search'})

Parameters:

  • input (Hash)

    A hash containing a params key. The value of this key is a hash containing the actual search query.

Returns:

WebCRM Rest Url:

  • GET /api/accounts/search



14
# File 'lib/crm_connector/account.rb', line 14

has_search