Class: Hithorizons::Invoicing::SearchUnstructured
- Defined in:
- lib/hithorizons/invoicing/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(country_code:, ids: nil, name: nil, address: nil, max_results: nil) ⇒ Object
6 7 8 9 |
# File 'lib/hithorizons/invoicing/search_unstructured.rb', line 6 def self.get(country_code:, ids: nil, name: nil, address: nil, max_results: nil) payload = { Ids: ids, Name: name, Address: address, MaxResults: max_results } process_request("/#{country_code}/Company/SearchUnstructured", 'GET', payload.compact) end |