Class: Presenters::VacTubePresenter

Inherits:
TubePresenter show all
Includes:
StateChangeless, Statemachine::DoesNotAllowLibraryPassing, Statemachine::StateAllowsChildCreation
Defined in:
app/models/presenters/vac_tube_presenter.rb

Overview

A stock tube presenter is used for tubes just entering the pipeline. It shows a preview of the tube, but prevents well failure and state changes. In addition it also detects common scenarios which may indicate problems with the submission.

Instance Method Summary collapse

Instance Method Details

#control_state_changeObject Originally defined in module StateChangeless

#default_state_changeObject Originally defined in module StateChangeless

#stateObject



13
14
15
# File 'app/models/presenters/vac_tube_presenter.rb', line 13

def state
  'passed'
end