Commit Graph

3 Commits (d6820f35271ad5d9e5b17b04054a39b9a2bc6c68)

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