module Yunpian::Captcha
Constants
- API_URI
- Configuration
- VERSION
Public Class Methods
config()
click to toggle source
# File lib/yunpian/captcha.rb, line 9 def config @config ||= Configuration.new end
configure() { |config| ... }
click to toggle source
# File lib/yunpian/captcha.rb, line 13 def configure yield config end
verify(token, authenticate)
click to toggle source
# File lib/yunpian/captcha.rb, line 17 def verify(token, authenticate) Yunpian::Captcha::AuthService.new(token, authenticate, config).call end