Class: BarcodePrinterType1DTube

Inherits:
BarcodePrinterType show all
Defined in:
app/models/barcode_printer_type1_d_tube.rb

Overview

Barcode printer loaded with labels in the correct aspect for labelling tubes

Class Method Summary collapse

Methods inherited from BarcodePrinterType

double_label?

Methods inherited from ApplicationRecord

alias_association, convert_labware_to_receptacle_for, find_by_id_or_name, find_by_id_or_name!

Methods included from Squishify

extended

Class Method Details

.firstObject



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

def self.first
  super || BarcodePrinterType1DTube.create!(name: '1D Tube', label_template_name: 'tube_label_template_1d')
end