Module: ActsAsRecaptcha::Recaptcha::InstanceMethods

Defined in:
lib/acts_as_recaptcha/acts_as_recaptcha.rb

Instance Method Summary collapse

Instance Method Details

#perform_recaptcha?Boolean

rewrite this method in your model if you want to add logic to whether to show this of not.

Returns:

  • (Boolean)


36
37
38
# File 'lib/acts_as_recaptcha/acts_as_recaptcha.rb', line 36

def perform_recaptcha?
	true
end