Module: Roles::Mongoid

Defined in:
lib/roles_mongoid/base.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



9
10
11
12
13
# File 'lib/roles_mongoid/base.rb', line 9

def self.included(base) 
  base.extend Roles::Base
  base.extend ClassMethods
  base.orm_name = :mongoid
end