Class: SequencescapeExcel::SpecialisedField::Volume

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

Overview

Volume

Instance Attribute Summary

Attributes included from Base

#sample_manifest_asset, #value

Instance Method Summary collapse

Methods included from Base

#link

Instance Method Details

#update(_attributes = {}) ⇒ Object


9
10
11
12
13
14
# File 'app/sequencescape_excel/sequencescape_excel/specialised_field/volume.rb', line 9

def update(_attributes = {})
  return unless valid?

  sample..volume = value
  create_qc_record if value.present?
end