Module: CalnetAuthenticated::UserModel
- Defined in:
- lib/calnet_authenticated/user_model.rb
Overview
class CalnetAuthenticated::User cattr_accessor :model end Object.class_eval do # MUST BE ACCESSED WITH TRAILING () define_method ‘CalnetAuthenticatedUser’ do CalnetAuthenticated::User.model end end
Defined Under Namespace
Modules: ClassMethods, InstanceMethods, PrepMethod
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/calnet_authenticated/user_model.rb', line 12 def self.included(base) base.extend(PrepMethod) # base.send(:include, InstanceMethods) # base.class_eval do # alias_method_chain :reset_persistence_token, :uniqueness # end end |