module Elasticsearch::Model::Importing::PrecheckAspect

Public Instance Methods

import(options={}) click to toggle source
Calls superclass method
# File lib/elasticsearch/model/importing_decorator.rb, line 5
def import options={}, &blk
  options[:scope] = self.class_variable_get(:@@_es_scope_name) if self.class_variable_defined?(:@@_es_scope_name) && !options[:scope]
  super options, &blk
end