Module: ActiveRecord::Acts::ActsAsSecure::ClassMethods
- Defined in:
- lib/acts_as_secure/acts_as_secure.rb
Defined Under Namespace
Modules: ActsAsSecureClassMethods, InstanceMethods
Instance Method Summary collapse
Instance Method Details
#acts_as_secure(options = {}) ⇒ Object
13 14 15 16 17 18 |
# File 'lib/acts_as_secure/acts_as_secure.rb', line 13 def acts_as_secure( = {}) () add_callbacks extend(ActsAsSecureClassMethods) send(:include, InstanceMethods) end |