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

convert_labware_to_receptacle_for, find_by_id_or_name, find_by_id_or_name!

Methods included from Warren::BroadcastMessages

#broadcast, included, #queue_associated_for_broadcast, #queue_for_broadcast, #warren

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: 'sqsc_1dtube_label_template')
end