Class: Workarea::IndexProductRule

Inherits:
Object
  • Object
show all
Includes:
Sidekiq::CallbacksWorker, Sidekiq::Worker
Defined in:
app/workers/workarea/index_product_rule.rb

Instance Method Summary collapse

Instance Method Details

#perform(id) ⇒ Object



18
19
20
21
# File 'app/workers/workarea/index_product_rule.rb', line 18

def perform(id)
  product_list = Catalog::Category.find(id)
  IndexCategorization.perform(product_list)
end