Class: PassiveDNS::PDNSResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/passivedns/client.rb

Overview

struct to contain the results from a PassiveDNS lookup

Instance Attribute Summary collapse

Instance Attribute Details

#answerObject

Returns the value of attribute answer

Returns:

  • (Object)

    the current value of answer



22
23
24
# File 'lib/passivedns/client.rb', line 22

def answer
  @answer
end

#countObject

Returns the value of attribute count

Returns:

  • (Object)

    the current value of count



22
23
24
# File 'lib/passivedns/client.rb', line 22

def count
  @count
end

#firstseenObject

Returns the value of attribute firstseen

Returns:

  • (Object)

    the current value of firstseen



22
23
24
# File 'lib/passivedns/client.rb', line 22

def firstseen
  @firstseen
end

#lastseenObject

Returns the value of attribute lastseen

Returns:

  • (Object)

    the current value of lastseen



22
23
24
# File 'lib/passivedns/client.rb', line 22

def lastseen
  @lastseen
end

#queryObject

Returns the value of attribute query

Returns:

  • (Object)

    the current value of query



22
23
24
# File 'lib/passivedns/client.rb', line 22

def query
  @query
end

#response_timeObject

Returns the value of attribute response_time

Returns:

  • (Object)

    the current value of response_time



22
23
24
# File 'lib/passivedns/client.rb', line 22

def response_time
  @response_time
end

#rrtypeObject

Returns the value of attribute rrtype

Returns:

  • (Object)

    the current value of rrtype



22
23
24
# File 'lib/passivedns/client.rb', line 22

def rrtype
  @rrtype
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



22
23
24
# File 'lib/passivedns/client.rb', line 22

def source
  @source
end

#ttlObject

Returns the value of attribute ttl

Returns:

  • (Object)

    the current value of ttl



22
23
24
# File 'lib/passivedns/client.rb', line 22

def ttl
  @ttl
end