Class: PooledPlateCreation
- Inherits:
-
AssetCreation
- Object
- ActiveRecord::Base
- ApplicationRecord
- AssetCreation
- PooledPlateCreation
- Includes:
- PlateCreation::Children
- Defined in:
- app/models/pooled_plate_creation.rb
Overview
Creating an instance of this class causes a child plate, with the specified plate type, to be created from the parent.
Defined Under Namespace
Classes: ParentAssociation
Instance Attribute Summary collapse
-
#barcode ⇒ Object
Returns the value of attribute barcode.
Instance Method Summary collapse
Methods included from PlateCreation::Children
Methods inherited from AssetCreation
#create_ancestor_asset!, #multiple_purposes
Methods included from Asset::Ownership::ChangesOwner
Methods included from Uuid::Uuidable
included, #unsaved_uuid!, #uuid
Methods inherited from ApplicationRecord
convert_labware_to_receptacle_for, find_by_id_or_name, find_by_id_or_name!
Methods included from Squishify
Methods included from Warren::BroadcastMessages
#broadcast, included, #queue_associated_for_broadcast, #queue_for_broadcast, #warren
Instance Attribute Details
#barcode ⇒ Object
Returns the value of attribute barcode
10 11 12 |
# File 'app/models/pooled_plate_creation.rb', line 10 def @barcode end |
Instance Method Details
#parent ⇒ Object
19 20 21 |
# File 'app/models/pooled_plate_creation.rb', line 19 def parent parents.first end |