Class: RecordLoader::PlatePurposeLoader
- Inherits:
-
ApplicationRecordLoader
- Object
- Base
- ApplicationRecordLoader
- RecordLoader::PlatePurposeLoader
- Defined in:
- lib/record_loader/plate_purpose_loader.rb
Constant Summary collapse
- DEFAULT_PRINTER_TYPE =
'96 Well Plate'
Instance Method Summary collapse
Methods inherited from ApplicationRecordLoader
Instance Method Details
#create_or_update!(name, options) ⇒ Object
8 9 10 11 12 |
# File 'lib/record_loader/plate_purpose_loader.rb', line 8 def create_or_update!(name, ) return if existing_purposes.include?(name) create_purpose(name, ) end |