Class: BarcodePrinterType96Plate

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

Overview

Represents barcode printers containing labels suitable for 96 well plates.

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


5
6
7
8
9
10
# File 'app/models/barcode_printer_type96_plate.rb', line 5

def self.first
  super || BarcodePrinterType96Plate.create!(
    name: '96 Well Plate',
    label_template_name: 'sqsc_96plate_label_template_code39'
  )
end