Class: Orders::RebootWorker

Inherits:
Object
  • Object
show all
Includes:
DurableOrderExecution, Sidekiq::Worker
Defined in:
app/workers/orders/reboot_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/reboot_worker.rb', line 8

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