Class: BarcodePrefix

Inherits:
ApplicationRecord show all
Defined in:
app/models/barcode_prefix.rb

Overview

A barcode prefix is a two character prefix applied to the front of Sanger format barcodes. Prefixes are set based on the Purpose with the most common being:

- DN for most plates
- NT for most tubes

Historically these were converted to numbers when generating ean13 for printing barcodes, but now we use Code39 to encode the human-readable format directly.

Method Summary

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