Class: PassiveDNS::PDNSResult

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

Instance Attribute Summary collapse

Method Summary

Methods inherited from Struct

printclass=, #render_xml, #to, #to_json, #to_s, #to_s_header, #to_xml

Instance Attribute Details

#answerObject

Returns the value of attribute answer

Returns:

  • (Object)

    the current value of answer



14
15
16
# File 'lib/pdns/pdns.rb', line 14

def answer
  @answer
end

#countObject

Returns the value of attribute count

Returns:

  • (Object)

    the current value of count



14
15
16
# File 'lib/pdns/pdns.rb', line 14

def count
  @count
end

#firstseenObject

Returns the value of attribute firstseen

Returns:

  • (Object)

    the current value of firstseen



14
15
16
# File 'lib/pdns/pdns.rb', line 14

def firstseen
  @firstseen
end

#lastseenObject

Returns the value of attribute lastseen

Returns:

  • (Object)

    the current value of lastseen



14
15
16
# File 'lib/pdns/pdns.rb', line 14

def lastseen
  @lastseen
end

#queryObject

Returns the value of attribute query

Returns:

  • (Object)

    the current value of query



14
15
16
# File 'lib/pdns/pdns.rb', line 14

def query
  @query
end

#response_timeObject

Returns the value of attribute response_time

Returns:

  • (Object)

    the current value of response_time



14
15
16
# File 'lib/pdns/pdns.rb', line 14

def response_time
  @response_time
end

#rrtypeObject

Returns the value of attribute rrtype

Returns:

  • (Object)

    the current value of rrtype



14
15
16
# File 'lib/pdns/pdns.rb', line 14

def rrtype
  @rrtype
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



14
15
16
# File 'lib/pdns/pdns.rb', line 14

def source
  @source
end

#ttlObject

Returns the value of attribute ttl

Returns:

  • (Object)

    the current value of ttl



14
15
16
# File 'lib/pdns/pdns.rb', line 14

def ttl
  @ttl
end