Module: BlueLightSpecial::User
- Defined in:
- lib/blue_light_special/user.rb
Defined Under Namespace
Modules: AttrAccessor, Callbacks, ClassMethods, InstanceMethods, Validations
Constant Summary collapse
- Admin =
'admin'
Class Method Summary collapse
-
.included(model) ⇒ Object
Hook for all BlueLightSpecial::User modules.
Class Method Details
.included(model) ⇒ Object
Hook for all BlueLightSpecial::User modules.
If you need to override parts of BlueLightSpecial::User, extend and include à la carte.
25 26 27 28 29 30 31 32 |
# File 'lib/blue_light_special/user.rb', line 25 def self.included(model) model.extend(ClassMethods) model.send(:include, InstanceMethods) model.send(:include, AttrAccessor) model.send(:include, Validations) model.send(:include, Callbacks) end |