Class: Tubes::WorkCompletionsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Tubes::WorkCompletionsController
- Includes:
- WorkCompletionBehaviour
- Defined in:
- app/controllers/tubes/work_completions_controller.rb
Overview
Handles the clicking of the ‘Charge and Pass Libraries’ button for tubes
Instance Method Summary collapse
-
#create ⇒ Object
included
from WorkCompletionBehaviour
Create a work completion for the given limber_plate_id and redirect to the plate page.
- #labware ⇒ Object
- #sequencescape_submission_parameters ⇒ Object included from WorkCompletionBehaviour
Instance Method Details
#create ⇒ Object Originally defined in module WorkCompletionBehaviour
Create a work completion for the given limber_plate_id and redirect to the plate page. Work completions mark library creation requests as completed and hook them up to the correct wells.
#labware ⇒ Object
10 11 12 |
# File 'app/controllers/tubes/work_completions_controller.rb', line 10 def labware @labware ||= api.tube.find(params[:limber_tube_id]) end |