Module: Octopus::Model

Defined in:
lib/octopus/model.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods, SharedMethods

Class Method Summary collapse

Class Method Details

.extended(base) ⇒ Object



5
6
7
8
9
# File 'lib/octopus/model.rb', line 5

def self.extended(base)
  base.send(:include, Octopus::ShardTracking::Attribute)
  base.send(:include, InstanceMethods)
  base.extend(ClassMethods)
end