Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

brand_captcha

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brand_captcha

  • 0.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

brand_captcha

A BrandCAPTCHA library for ruby

Description

API to interact with BrandCAPTCHA

Installation

$ gem install brand_captcha

Usage

BrandCaptcha.configure do |c|
  c.public_key = ENV['BRANDCAPTCHA_PUBLIC_KEY']
  c.private_key = ENV['BRANDCAPTCHA_PRIVATE_KEY']
end

On the view, inside the <form>

<%= BrandCaptcha.widget =>

To validate the captcha:

valid = BrandCaptcha.check_answer remote_ip, challenge, response

Acknowledgement

Based on BrandCaptcha plugin for WordPress and reCAPTCHA

FAQs

Package last updated on 07 Jul 2014

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