Class: Esse::AsyncIndexing::Actions::BatchImportAll
- Inherits:
-
Object
- Object
- Esse::AsyncIndexing::Actions::BatchImportAll
- Defined in:
- lib/esse/async_indexing/actions/batch_import_all.rb
Class Method Summary collapse
Class Method Details
.call(index_class_name, repo_name, options = {}) ⇒ Object
5 6 7 8 9 |
# File 'lib/esse/async_indexing/actions/batch_import_all.rb', line 5 def self.call(index_class_name, repo_name, = {}) _index_class, repo_class = CoerceIndexRepository.call(index_class_name, repo_name) kwargs = Esse::HashUtils.deep_transform_keys(, &:to_sym) repo_class.import(**kwargs) end |