Socket
Book a DemoInstallSign in
Socket

simple_recaptcha

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple_recaptcha

0.0.1
bundlerRubygems
Version published
Maintainers
1
Created
Source

Simple Recaptcha

Ruby library for reCAPTCHA

Usage

require "simple_recaptcha"

SimpleRecaptcha.verify(:private_key => "your-private-key", :ip => "127.0.0.1", :challenge => "challengestring", :response => "user input")

All 4 attributes must be specified: :private_key, :ip, :challenge, :response

Configuration

You can configure Simple Recaptcha in two different ways:

SimpleRecaptcha.private_key = "your-private-key"

SimpleRecaptcha.configure do |confg|
  config.private_key = "your-private-key"
  config.public_key = "your-public-key"
end

You can set public_key for consistency, however it is not used during verification

Copyright © 2011 Wojciech Wnętrzak. See LICENSE for details.

FAQs

Package last updated on 12 Sep 2011

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.