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