Class: PassiveCIRCL::Clients::DNS

Inherits:
Base
  • Object
show all
Defined in:
lib/passive_circl/clients/dns.rb

Constant Summary

Constants inherited from Base

Base::BASE_URL, Base::HOST

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from PassiveCIRCL::Clients::Base

Instance Method Details

#query(value) ⇒ Object



6
7
8
# File 'lib/passive_circl/clients/dns.rb', line 6

def query(value)
  _get("/pdns/query/#{value}") { |json| json }
end