Class: Lab::PushOrderJob

Inherits:
ApplicationJob show all
Defined in:
app/jobs/lab/push_order_job.rb

Overview

Push an order to LIMS.

Instance Method Summary collapse

Instance Method Details

#perform(order_id) ⇒ Object



7
8
9
10
# File 'app/jobs/lab/push_order_job.rb', line 7

def perform(order_id)
  push_worker = Lab::Lims::PushWorker.new(Lab::Lims::ApiFactory.create_api)
  push_worker.push_order_by_id(order_id)
end