Class: LotType
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- LotType
- Includes:
- Uuid::Uuidable
- Defined in:
- app/models/lot_type.rb
Overview
Instance Method Summary collapse
Methods included from Uuid::Uuidable
included, #unsaved_uuid!, #uuid
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
Instance Method Details
#printer_type ⇒ Object
20 21 22 |
# File 'app/models/lot_type.rb', line 20 def printer_type target_purpose..name end |
#valid_template_class ⇒ Object
14 15 16 |
# File 'app/models/lot_type.rb', line 14 def valid_template_class template_class.constantize end |