ReCAPTCHA Mailhide implementation for Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 13 commits behind pilaf:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.document
.gitignore
.rspec
Gemfile
Gemfile.lock
LICENSE.txt
README.rdoc
Rakefile
VERSION
recaptcha-mailhide.gemspec

README.rdoc

ReCAPTCHA Mailhide

This gem provides support for ReCAPTCHA's Mailhide API.

At the moment it only generates URLs, it doesn't provide any link helpers, so it's completely framework agnostic (and a bit on the lower side of features).

Installation

Simply run:

gem install recaptcha-mailhide

Or if you're using bundler:

gem 'recaptcha-mailhide'

Configuration

Easy:

RecaptchaMailhide.configure do |c|
  c.private_key = 'your private key here'
  c.public_key  = 'your public key here'
end

Usage

Call RecaptchaMailhide::URL.url_for(email) to get the ReCAPTCHA Mailhide URL.

At the moment this gem doesn't provide any helpers to build HTML link tags.

License

MIT License. Copyright © 2012 Pedro Fayolle.