Module: ValidateCaptcha::InstanceMethods
- Defined in:
- lib/captcha3/validate_captcha.rb
Instance Method Summary collapse
Instance Method Details
#captcha_validated? ⇒ Boolean
14 15 16 |
# File 'lib/captcha3/validate_captcha.rb', line 14 def captcha_validated? CaptchaUtil.encrypt_string(params[:captcha].to_s.downcase) == params[:captcha_validation] end |