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.
Instance Attribute Summary collapse
-
#sanger_barcode ⇒ Object
Returns the value of attribute sanger_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
alias_association, convert_labware_to_receptacle_for, find_by_id_or_name, find_by_id_or_name!
Methods included from Squishify
Instance Attribute Details
#sanger_barcode ⇒ Object
Returns the value of attribute sanger_barcode.
7 8 9 |
# File 'app/models/pooled_plate_creation.rb', line 7 def @sanger_barcode end |
Instance Method Details
#parent ⇒ Object
16 17 18 |
# File 'app/models/pooled_plate_creation.rb', line 16 def parent parents.first end |