Class: Transfer::BetweenPlateAndTubes
- Inherits:
-
Transfer
- Object
- ActiveRecord::Base
- ApplicationRecord
- Transfer
- Transfer::BetweenPlateAndTubes
- Includes:
- ControlledDestinations
- Defined in:
- app/models/transfer/between_plate_and_tubes.rb
Direct Known Subclasses
FromPlateToSpecificTubes, FromPlateToSpecificTubesByPool, FromPlateToTubeByMultiplex, FromPlateToTubeBySubmission
Defined Under Namespace
Classes: WellToTube
Constant Summary collapse
- DESTINATION_INCLUDES =
{ destination: %i[uuid_object barcodes] }.freeze
Instance Method Summary collapse
Methods included from ControlledDestinations
Methods inherited from Transfer
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
#transfers ⇒ Object
28 29 30 |
# File 'app/models/transfer/between_plate_and_tubes.rb', line 28 def transfers well_to_tubes.include_destination.each_with_object({}) { |t, hash| hash[t.source] = tube_to_hash(t.destination) } end |