Class: EventMachine::DNSBL::DNSBLResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/eventmachine/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



14
15
16
# File 'lib/eventmachine/dnsbl/client.rb', line 14

def dnsbl
  @dnsbl
end

#itemObject

Returns the value of attribute item

Returns:

  • (Object)

    the current value of item



14
15
16
# File 'lib/eventmachine/dnsbl/client.rb', line 14

def item
  @item
end

#meaningObject

Returns the value of attribute meaning

Returns:

  • (Object)

    the current value of meaning



14
15
16
# File 'lib/eventmachine/dnsbl/client.rb', line 14

def meaning
  @meaning
end

#queryObject

Returns the value of attribute query

Returns:

  • (Object)

    the current value of query



14
15
16
# File 'lib/eventmachine/dnsbl/client.rb', line 14

def query
  @query
end

#resultObject

Returns the value of attribute result

Returns:

  • (Object)

    the current value of result



14
15
16
# File 'lib/eventmachine/dnsbl/client.rb', line 14

def result
  @result
end

#timingObject

Returns the value of attribute timing

Returns:

  • (Object)

    the current value of timing



14
15
16
# File 'lib/eventmachine/dnsbl/client.rb', line 14

def timing
  @timing
end