Class: ActiverecordReindex::Adapter
- Inherits:
-
Object
- Object
- ActiverecordReindex::Adapter
- Defined in:
- lib/activerecord_reindex/adapter.rb
Direct Known Subclasses
Class Method Summary collapse
-
._check_elasticsearch_connection(klass) ⇒ Object
check if record of this class can be reindexed check if klass inherits from elasticsearch-model base class and have method required for reindexing.
Class Method Details
._check_elasticsearch_connection(klass) ⇒ Object
check if record of this class can be reindexed check if klass inherits from elasticsearch-model base class and have method required for reindexing
15 16 17 |
# File 'lib/activerecord_reindex/adapter.rb', line 15 def self._check_elasticsearch_connection(klass) klass < Elasticsearch::Model end |