Class: Tomba::Technology
- Defined in:
- lib/tomba/services/technology.rb
Overview
Technology service for detecting website technologies.
Provides methods to discover the technologies used by a website.
Instance Method Summary collapse
-
#list(domain) ⇒ Hash
List Technologies.
Methods inherited from Service
Constructor Details
This class inherits a constructor from Tomba::Service
Instance Method Details
#list(domain) ⇒ Hash
List Technologies
Returns the technologies detected on a given domain.
18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/tomba/services/technology.rb', line 18 def list(domain) raise Tomba::Exception, 'Missing required parameter: "domain"' if domain.nil? path = '/technology' params = { domain: domain } @client.call('get', path, { 'content-type' => 'application/json' }, params) end |