Module: Barjillo::ActAsAuthModel

Defined in:
lib/barjillo/act_as_auth_model.rb

Defined Under Namespace

Modules: AttrAccessor, Callbacks, ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(model) ⇒ Object



5
6
7
8
9
10
# File 'lib/barjillo/act_as_auth_model.rb', line 5

def self.included(model)
  model.extend(ClassMethods)
  model.send(:include , AttrAccessor)
  model.send(:include, InstanceMethods)
  model.send(:include, Callbacks)
end