New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
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
  • Rubygems
  • Socket score

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc