Module: ElasticSearch::Model
- Defined in:
- lib/elastic_search/model.rb
Overview
The ElasticSearch::Model mixin provides means to interact with associated index classes. For instance, you can notify an index about model changes via callbacks, such that the index can subsequently re-index/delete the respective records.
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
9 10 11 |
# File 'lib/elastic_search/model.rb', line 9 def self.included(base) base.extend ClassMethods end |