Class: Orders::ReloadWorker

Inherits:
Object
  • Object
show all
Includes:
DurableOrderExecution, Sidekiq::Worker
Defined in:
app/workers/orders/reload_worker.rb

Instance Method Summary collapse

Methods included from DurableOrderExecution

#safely_execute_order

Instance Method Details

#perform(order_id) ⇒ Object



8
9
10
11
12
# File 'app/workers/orders/reload_worker.rb', line 8

def perform(order_id)
  safely_execute_order(order_id) do
    Smartguard::Client.restart
  end
end