Class: DNSDB::Clients::Client
- Inherits:
-
Object
- Object
- DNSDB::Clients::Client
- Defined in:
- lib/dnsdb/clients/client.rb
Constant Summary collapse
- HOST =
"api.dnsdb.info"
- BASE_URL =
"https://#{HOST}"
Instance Method Summary collapse
-
#initialize(api_key) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(api_key) ⇒ Client
Returns a new instance of Client.
13 14 15 |
# File 'lib/dnsdb/clients/client.rb', line 13 def initialize(api_key) @api_key = api_key end |