Class: DNSDB::Clients::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/dnsdb/clients/client.rb

Direct Known Subclasses

Lookup, Summarize

Constant Summary collapse

HOST =
"api.dnsdb.info"
BASE_URL =
"https://#{HOST}"

Instance Method Summary collapse

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