Class: Workarea::IndexFulfillmentChanges

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

Instance Method Summary collapse

Instance Method Details

#perform(order_id) ⇒ Object



12
13
14
15
# File 'app/workers/workarea/index_fulfillment_changes.rb', line 12

def perform(order_id)
  order = Order.find(order_id) rescue nil
  IndexAdminSearch.perform(order) if order.present?
end