Module: Elasticsearch::Model::Adapter
- Defined in:
- lib/elasticsearch/model/adapter.rb,
lib/elasticsearch/model/adapters/default.rb,
lib/elasticsearch/model/adapters/mongoid.rb,
lib/elasticsearch/model/adapters/multiple.rb,
lib/elasticsearch/model/adapters/active_record.rb
Overview
Contains an adapter which provides OxM-specific implementations for common behaviour:
Defined Under Namespace
Modules: ActiveRecord, Default, Mongoid, Multiple Classes: Adapter
Class Method Summary collapse
-
.adapters ⇒ Object
Returns registered adapters.
-
.from_class(klass) ⇒ Object
Returns an adapter based on the Ruby class passed.
-
.register(name, condition) ⇒ Object
Registers an adapter.
Class Method Details
.adapters ⇒ Object
Returns registered adapters
52 53 54 |
# File 'lib/elasticsearch/model/adapter.rb', line 52 def adapters Adapter.adapters end |