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