Module: Elasticsearch::Model::Importing::PrecheckAspect
- Included in:
- ClassMethods
- Defined in:
- lib/elasticsearch/model/importing_decorator.rb
Instance Method Summary collapse
Instance Method Details
#import(options = {}, &blk) ⇒ Object
5 6 7 8 |
# File 'lib/elasticsearch/model/importing_decorator.rb', line 5 def import ={}, &blk [:scope] = self.class_variable_get(:@@_es_scope_name) if self.class_variable_defined?(:@@_es_scope_name) && ![:scope] super , &blk end |