Class: NpgActions::AssetsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- NpgActions::AssetsController
- Defined in:
- app/controllers/npg_actions/assets_controller.rb
Overview
Takes QC decisions on lanes from NPG and records the information in Sequencescape, passing the requests and creating events as required.
Constant Summary collapse
- NPGActionInvalid =
Raised if an action is performed which contradicts a previous one
Class.new(StandardError)
Instance Method Summary collapse
Instance Method Details
#fail ⇒ Object
19 20 21 |
# File 'app/controllers/npg_actions/assets_controller.rb', line 19 def fail action_for_qc_state('fail') end |
#pass ⇒ Object
23 24 25 |
# File 'app/controllers/npg_actions/assets_controller.rb', line 23 def pass action_for_qc_state('pass') end |