Module: Elasticsearch::Persistence::Repository::DSL

Defined in:
lib/elasticsearch/persistence/repository/dsl.rb

Overview

Include this module to get class-level methods for repository configuration.

Since:

  • 6.0.0

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

Since:

  • 6.0.0



27
28
29
30
# File 'lib/elasticsearch/persistence/repository/dsl.rb', line 27

def self.included(base)
  base.send(:extend, Elasticsearch::Model::Indexing::ClassMethods)
  base.send(:extend, ClassMethods)
end