Class: Esse::AsyncIndexing::Configuration::Base
- Inherits:
-
Object
- Object
- Esse::AsyncIndexing::Configuration::Base
- Defined in:
- lib/esse/async_indexing/configuration/base.rb
Instance Method Summary collapse
Instance Method Details
#strict? ⇒ Boolean
50 51 52 |
# File 'lib/esse/async_indexing/configuration/base.rb', line 50 def strict? true end |
#worker_options(class_name) ⇒ Object
41 42 43 44 45 46 47 48 |
# File 'lib/esse/async_indexing/configuration/base.rb', line 41 def (class_name) class_name = class_name.to_s if strict? && !workers.key?(class_name) raise Esse::AsyncIndexing::NotDefinedWorkerError.new(class_name) end workers.fetch(class_name, {}) end |