Class: Orders::RebootWorker
- Inherits:
-
Object
- Object
- Orders::RebootWorker
- Includes:
- DurableOrderExecution, Sidekiq::Worker
- Defined in:
- app/workers/orders/reboot_worker.rb
Instance Method Summary collapse
Methods included from DurableOrderExecution
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 |