Class: Hithorizons::Company::SearchUnstructured
- Defined in:
- lib/hithorizons/company/search_unstructured.rb
Constant Summary
Constants inherited from BaseApi
Constants inherited from BaseApi
Class Method Summary collapse
Methods inherited from BaseApi
Methods inherited from BaseApi
api_key, initialize_client, process_request, request
Class Method Details
.get(ids: nil, name: nil, address: nil, show_branches: nil, company_types: nil, max_results: nil) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/hithorizons/company/search_unstructured.rb', line 6 def self.get(ids: nil, name: nil, address: nil, show_branches: nil, company_types: nil, max_results: nil) payload = { Ids: ids, Name: name, Address: address, ShowBranches: show_branches, CompanyTypes: company_types, MaxResults: max_results } process_request('/SearchUnstructured', 'GET', payload.compact) end |