Class: SequencescapeExcel::SpecialisedField::Tag2Group

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
app/sequencescape_excel/sequencescape_excel/specialised_field/tag2_group.rb

Overview

Tag2Group

Instance Attribute Summary

Attributes included from Base

#sample_manifest_asset, #value

Instance Method Summary collapse

Methods included from Base

#link, #update

Instance Method Details

#tag2_group_idObject


12
13
14
# File 'app/sequencescape_excel/sequencescape_excel/specialised_field/tag2_group.rb', line 12

def tag2_group_id
  @tag2_group_id ||= ::TagGroup.find_by(name: value)&.id
end