Module: SimpleRecaptcha
- Extended by:
- Forwardable
- Defined in:
- lib/simple_recaptcha.rb,
lib/simple_recaptcha/version.rb
Defined Under Namespace
Classes: Client
Constant Summary collapse
- VERIFY_URL =
"http://www.google.com/recaptcha/api/verify"
- VERSION =
"0.0.1"
Class Attribute Summary collapse
-
.private_key ⇒ Object
Returns the value of attribute private_key.
-
.public_key ⇒ Object
Returns the value of attribute public_key.
Class Method Summary collapse
Class Attribute Details
.private_key ⇒ Object
Returns the value of attribute private_key.
12 13 14 |
# File 'lib/simple_recaptcha.rb', line 12 def private_key @private_key end |
.public_key ⇒ Object
Returns the value of attribute public_key.
12 13 14 |
# File 'lib/simple_recaptcha.rb', line 12 def public_key @public_key end |
Class Method Details
.client ⇒ Object
20 21 22 |
# File 'lib/simple_recaptcha.rb', line 20 def client @client ||= SimpleRecaptcha::Client.new end |
.configure {|_self| ... } ⇒ Object
16 17 18 |
# File 'lib/simple_recaptcha.rb', line 16 def configure yield self end |