Module: AliyunIntelligentCaptcha::Rails::ControllerHelpers
- Defined in:
- lib/aliyun_intelligent_captcha/rails/controller_helpers.rb
Instance Method Summary collapse
Instance Method Details
#verify_aliyun_intelligent_captcha(captcha_verify_param, **extra) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/aliyun_intelligent_captcha/rails/controller_helpers.rb', line 6 def verify_aliyun_intelligent_captcha(captcha_verify_param, **extra) AliyunIntelligentCaptcha.verify( captcha_verify_param: captcha_verify_param, remote_ip: request.remote_ip, **extra ).passed? end |