Captcha::Model::ActMethods

Public Instance Methods

acts_as_captcha(options={}) click to toggle source
# File lib/captcha/model.rb, line 8
def acts_as_captcha(options={})
  extend ClassMethods
  include InstanceMethods
  attr_reader :captcha, :known_captcha
  cattr_accessor :captcha_options
  self.captcha_options = options
  validate :captcha_must_match_known_captcha
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.