Class: Labels::PlateSplit

Inherits:
PlateLabelXpBase
  • Object
show all
Defined in:
app/models/labels/plate_split.rb

Overview

rubocop:todo Style/Documentation

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#stock_plate_barcodeObject



14
15
16
# File 'app/models/labels/plate_split.rb', line 14

def stock_plate_barcode
  @stock_plate_barcode ||= stock_plate_barcode_getter
end

Instance Method Details

#attributesObject



6
7
8
# File 'app/models/labels/plate_split.rb', line 6

def attributes
  super.merge(top_right: stock_plate_barcode)
end

#qc_label_definitionsObject



10
11
12
# File 'app/models/labels/plate_split.rb', line 10

def qc_label_definitions
  [super[0].merge(top_right: stock_plate_barcode)]
end