Class: StateChangers::AutomaticTubeStateChanger

Inherits:
AutomaticLabwareStateChanger show all
Defined in:
app/models/state_changers.rb

Overview

This version of the AutomaticLabwareStateChanger is used by Tubes.

Instance Method Summary collapse

Constructor Details

This class inherits a constructor from StateChangers::DefaultStateChanger

Instance Method Details

#labwareObject



120
121
122
# File 'app/models/state_changers.rb', line 120

def labware
  @labware ||= v2_labware
end

#v2_labwareObject



116
117
118
# File 'app/models/state_changers.rb', line 116

def v2_labware
  @v2_labware ||= Sequencescape::Api::V2.tube_for_completion(labware_uuid)
end