Module: YandexCaptcha::Helpers::Base::InstanceMethods

Defined in:
lib/yandex_captcha/helpers/base.rb

Instance Method Summary collapse

Instance Method Details

#get_captcha(*args) ⇒ Object



14
15
16
# File 'lib/yandex_captcha/helpers/base.rb', line 14

def get_captcha *args
  YandexCaptcha::Verify.get_captcha *args
end

#spam?(*args) ⇒ Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/yandex_captcha/helpers/base.rb', line 10

def spam? *args
  YandexCaptcha::Verify.spam? *args
end

#valid_captcha?(*args) ⇒ Boolean

Returns:

  • (Boolean)


18
19
20
# File 'lib/yandex_captcha/helpers/base.rb', line 18

def valid_captcha? *args
  YandexCaptcha::Verify.valid_captcha? *args
end