Class: Workarea::IndexProductRule
- Inherits:
-
Object
- Object
- Workarea::IndexProductRule
- Includes:
- Sidekiq::CallbacksWorker, Sidekiq::Worker
- Defined in:
- app/workers/workarea/index_product_rule.rb
Instance Method Summary collapse
Instance Method Details
#perform(id) ⇒ Object
17 18 19 20 |
# File 'app/workers/workarea/index_product_rule.rb', line 17 def perform(id) product_list = Catalog::Category.find(id) IndexCategorization.perform(product_list) end |