Class: DNSBL::DNSBLResult

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

Overview

DNSBLResult holds the result of a DNSBL lookup dnsbl: name of the DNSBL that returned the answer item: the item queried, an IP or a domain result: the result code, e.g., 127.0.0.2 meaning: the mapping of the result code to the meaning from the configuration file timing: the time between starting to send queries to the DNSBLs and when the result from this DNSBL returned

Instance Attribute Summary collapse

Instance Attribute Details

#dnsblObject

Returns the value of attribute dnsbl

Returns:

  • (Object)

    the current value of dnsbl



44
45
46
# File 'lib/dnsbl/client.rb', line 44

def dnsbl
  @dnsbl
end

#itemObject

Returns the value of attribute item

Returns:

  • (Object)

    the current value of item



44
45
46
# File 'lib/dnsbl/client.rb', line 44

def item
  @item
end

#meaningObject

Returns the value of attribute meaning

Returns:

  • (Object)

    the current value of meaning



44
45
46
# File 'lib/dnsbl/client.rb', line 44

def meaning
  @meaning
end

#queryObject

Returns the value of attribute query

Returns:

  • (Object)

    the current value of query



44
45
46
# File 'lib/dnsbl/client.rb', line 44

def query
  @query
end

#resultObject

Returns the value of attribute result

Returns:

  • (Object)

    the current value of result



44
45
46
# File 'lib/dnsbl/client.rb', line 44

def result
  @result
end

#timingObject

Returns the value of attribute timing

Returns:

  • (Object)

    the current value of timing



44
45
46
# File 'lib/dnsbl/client.rb', line 44

def timing
  @timing
end