Module: Wonkavision::Mongoid::Activity

Defined in:
lib/wonkavision/persistence/mongoid_adapter.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(model) ⇒ Object



5
6
7
8
# File 'lib/wonkavision/persistence/mongoid_adapter.rb', line 5

def self.included(model)
  model.send(:include,::Mongoid::Document)
  model.extend(ClassMethods)
end