Commit Graph

3 Commits (258a5b7c52e6bcb2114052c2097d8ac52a98f2e9)

Author SHA1 Message Date
Guillaume DOTT 3f93bf1fa2 Add configuration class and modify lookup to use this configuration
To configure the module, you can use :
ProjectHoneypot.configure do
  @api_key = 'API_KEY'
end
To access, the variable, use :
ProjectHoneypot.api_key

The lookup method has been modified to be backward compatible
and use the defined api_key if available.
2012-12-19 09:31:17 +01:00
Guillaume DOTT 7035908aae Modify require 'net/dns' to work 2012-12-18 16:53:38 +01:00
woody2shoes acf5a7d6ce version 0.1.1 2010-10-27 22:13:06 -06:00