Module: Esse::AsyncIndexing::ActiveRecord::Model

Defined in:
lib/esse/async_indexing/active_record.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



51
52
53
54
55
56
# File 'lib/esse/async_indexing/active_record.rb', line 51

def self.included(base)
  unless base.respond_to?(:esse_index)
    base.include(Esse::ActiveRecord::Model)
  end
  base.extend(ClassMethods)
end