7 8 9 10 11 12
# File 'app/workers/orders/disable_worker.rb', line 7 def perform(order_id) order = Order.find(order_id) Terminal.disable order.complete end