Method: Elasticsearch::Model::Registry#add
- Defined in:
- lib/elasticsearch/model/multimodel.rb
#add(klass) ⇒ Object
Adds a model to the registry
49 50 51 |
# File 'lib/elasticsearch/model/multimodel.rb', line 49 def add(klass) @models << klass end |