Class: StateChanger::QcableLabware
- Defined in:
- app/models/state_changer/qcable_labware.rb
Overview
State on Labware associated with Qcables (such as unused tag plates) delegates their state back to the Qcable itself. Thus when the tag plate is exhausted, we record this against the QCable
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#update_labware_state ⇒ Void
Updates the state of the qcable associated with the labware to the target state.
Methods inherited from Base
#associated_request_target_state, #contents, #customer_accepts_responsibility, #map_target_state_to_associated_request_state, #target_state
Instance Method Details
#update_labware_state ⇒ Void
Updates the state of the qcable associated with the labware to the target state.
10 11 12 |
# File 'app/models/state_changer/qcable_labware.rb', line 10 def update_labware_state qcable.transition_to(target_state) end |