Class: Workarea::IndexSkus
- Inherits:
-
Object
- Object
- Workarea::IndexSkus
- Includes:
- Sidekiq::CallbacksWorker, Sidekiq::Worker
- Defined in:
- app/workers/workarea/index_skus.rb
Instance Method Summary collapse
Instance Method Details
#perform(sku) ⇒ Object
14 15 16 17 18 |
# File 'app/workers/workarea/index_skus.rb', line 14 def perform(sku) Catalog::Product.find_for_update_by_sku(sku).each do |product| IndexProduct.perform(product) end end |