Module: CustomCaptcha

Defined in:
lib/custom_captcha.rb,
lib/custom_captcha/image.rb,
lib/custom_captcha/utils.rb,
lib/custom_captcha/engine.rb,
lib/custom_captcha/errors.rb,
lib/custom_captcha/railtie.rb,
lib/custom_captcha/version.rb,
lib/custom_captcha/configuration.rb,
lib/custom_captcha/common_methods.rb,
lib/generators/custom_captcha/utils.rb,
lib/custom_captcha/action_view_extension.rb,
lib/custom_captcha/active_record_extension.rb,
lib/custom_captcha/action_controller_extension.rb

Defined Under Namespace

Modules: ActionControllerExtension, ActionViewExtension, ActiveRecordExtension, CommonMethods, Configuration, Generators, Image, Utils Classes: CaptchaImagesController, Engine, InitImageFilesKeyError, InstallGenerator, MakeImagePathError, Railtie, UninstallGenerator

Constant Summary collapse

DEFAULTVALUE =
{
  :field_name => :custom_captcha,
  :key_name => :custom_captcha_key,
  :key_id => :custom_captcha_key,
  :img_id => :custom_captcha_img,
  :template => 'default'
}
VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.configure(&block) ⇒ Object



32
33
34
# File 'lib/custom_captcha.rb', line 32

def configure(&block)
  CustomCaptcha::Configuration.configure(&block)
end