Class: Plates::WorkCompletionsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Plates::WorkCompletionsController
- Includes:
- WorkCompletionBehaviour
- Defined in:
- app/controllers/plates/work_completions_controller.rb
Overview
Handles the clicking of the ‘Charge and Pass Libraries’ button for plates
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/plates/work_completions_controller.rb', line 10 def labware @labware ||= Sequencescape::Api::V2.plate_for_completion(params[:limber_plate_id]) end |