Module: Stratify::MongoidExtension::NaturalKey

Included in:
Activity
Defined in:
lib/stratify/mongoid_extension.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object



32
33
34
35
# File 'lib/stratify/mongoid_extension.rb', line 32

def self.included(receiver)
  receiver.extend ClassMethods
  receiver.send :include, InstanceMethods
end