Class: Workarea::IndexSkus

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

Instance Method Summary collapse

Instance Method Details

#perform(sku) ⇒ Object



15
16
17
# File 'app/workers/workarea/index_skus.rb', line 15

def perform(sku)
  BulkIndexProducts.perform_by_models(Catalog::Product.find_for_update_by_sku(sku))
end