Class: BarcodePrinterType1DTube
- Inherits:
-
BarcodePrinterType
- Object
- ActiveRecord::Base
- ApplicationRecord
- BarcodePrinterType
- BarcodePrinterType1DTube
- 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
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
Class Method Details
.first ⇒ Object
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 |