This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is based on verify_recaptcha: | |
# https://github.com/ambethia/recaptcha/blob/c9ef2815a3c3d7b8e0abd4b5b85207a34db23cc0/lib/recaptcha/adapters/controller_methods.rb#L10 | |
# | |
# Your private API can be specified in the +options+ hash or preferably | |
# using the Configuration. | |
# | |
# Example usage: recaptcha_response({secret_key: "insert_your_secret_key_from_google", action: "contact"}) | |
# | |
# Example response: | |
# |