class EasyCaptcha::Captcha
captcha generation class
Attributes
code[R]
code for captcha generation
image[R]
blob of generated captcha image
Public Class Methods
new(code)
click to toggle source
generate captcha by code
# File lib/easy_captcha/captcha.rb, line 12 def initialize(code) @code = code generate_captcha end