Class: Tomba::Reveal
Overview
Reveal service for company search.
Provides methods to search for companies.
Instance Method Summary collapse
-
#companies_search(params) ⇒ Hash
Companies Search.
Methods inherited from Service
Constructor Details
This class inherits a constructor from Tomba::Service
Instance Method Details
#companies_search(params) ⇒ Hash
Companies Search
Searches for companies matching the given parameters.
18 19 20 21 22 23 24 25 26 |
# File 'lib/tomba/services/reveal.rb', line 18 def companies_search(params) raise Tomba::Exception, 'Missing required parameter: "params"' if params.nil? || params.empty? path = '/reveal' @client.call('get', path, { 'content-type' => 'application/json' }, params) end |