Module: RoleStrategy::Mongoid::AdminFlag
- Extended by:
- Roles::Generic::User::Configuration
- Defined in:
- lib/roles_mongoid/strategy/single/admin_flag.rb
Defined Under Namespace
Modules: ClassMethods, Implementation
Class Method Summary
collapse
Class Method Details
.default_role_attribute ⇒ Object
3
4
5
|
# File 'lib/roles_mongoid/strategy/single/admin_flag.rb', line 3
def self.default_role_attribute
:admin_flag
end
|
.included(base) ⇒ Object
7
8
9
|
# File 'lib/roles_mongoid/strategy/single/admin_flag.rb', line 7
def self.included base
base.extend ClassMethods
end
|