Class: PassiveDNS::PDNSResult
- Inherits:
-
Struct
- Object
- Struct
- PassiveDNS::PDNSResult
- Defined in:
- lib/passivedns/client.rb
Overview
struct to contain the results from a PassiveDNS lookup
Instance Attribute Summary collapse
-
#answer ⇒ Object
Returns the value of attribute answer.
-
#count ⇒ Object
Returns the value of attribute count.
-
#firstseen ⇒ Object
Returns the value of attribute firstseen.
-
#lastseen ⇒ Object
Returns the value of attribute lastseen.
-
#query ⇒ Object
Returns the value of attribute query.
-
#response_time ⇒ Object
Returns the value of attribute response_time.
-
#rrtype ⇒ Object
Returns the value of attribute rrtype.
-
#source ⇒ Object
Returns the value of attribute source.
-
#ttl ⇒ Object
Returns the value of attribute ttl.
Instance Attribute Details
#answer ⇒ Object
Returns the value of attribute answer
22 23 24 |
# File 'lib/passivedns/client.rb', line 22 def answer @answer end |
#count ⇒ Object
Returns the value of attribute count
22 23 24 |
# File 'lib/passivedns/client.rb', line 22 def count @count end |
#firstseen ⇒ Object
Returns the value of attribute firstseen
22 23 24 |
# File 'lib/passivedns/client.rb', line 22 def firstseen @firstseen end |
#lastseen ⇒ Object
Returns the value of attribute lastseen
22 23 24 |
# File 'lib/passivedns/client.rb', line 22 def lastseen @lastseen end |
#query ⇒ Object
Returns the value of attribute query
22 23 24 |
# File 'lib/passivedns/client.rb', line 22 def query @query end |
#response_time ⇒ Object
Returns the value of attribute response_time
22 23 24 |
# File 'lib/passivedns/client.rb', line 22 def response_time @response_time end |
#rrtype ⇒ Object
Returns the value of attribute rrtype
22 23 24 |
# File 'lib/passivedns/client.rb', line 22 def rrtype @rrtype end |
#source ⇒ Object
Returns the value of attribute source
22 23 24 |
# File 'lib/passivedns/client.rb', line 22 def source @source end |
#ttl ⇒ Object
Returns the value of attribute ttl
22 23 24 |
# File 'lib/passivedns/client.rb', line 22 def ttl @ttl end |