Module: Api::Messages::FlowcellIO::AliquotExtensions

Included in:
Aliquot
Defined in:
app/models/api/messages/flowcell_io.rb

Overview

Included in Aliquot model

Instance Method Summary collapse

Instance Method Details

#aliquot_typeObject


160
161
162
# File 'app/models/api/messages/flowcell_io.rb', line 160

def aliquot_type
  tags? ? 'library_indexed' : 'library'
end

#control_aliquot_typeObject


164
165
166
# File 'app/models/api/messages/flowcell_io.rb', line 164

def control_aliquot_type
  tags? ? 'library_indexed_spike' : 'library_control'
end