Class: SampleManifest::SharedTubeBehaviour::Base
- Inherits:
-
Object
- Object
- SampleManifest::SharedTubeBehaviour::Base
- Includes:
- CoreBehaviour::Shared
- Defined in:
- app/models/sample_manifest/shared_tube_behaviour.rb
Direct Known Subclasses
LibraryTubeBehaviour::Core, MultiplexedLibraryBehaviour::Core, SampleManifest::SampleTubeBehaviour::Core, TubeRackBehaviour::Core
Instance Method Summary collapse
Methods included from CoreBehaviour::Shared
#details, #generate_sanger_ids, included
Instance Method Details
#details_array ⇒ Object
10 11 12 13 14 15 16 |
# File 'app/models/sample_manifest/shared_tube_behaviour.rb', line 10 def details_array sample_manifest_assets .includes(asset: :barcodes) .map do |sample_manifest_asset| { barcode: sample_manifest_asset., sample_id: sample_manifest_asset.sanger_sample_id } end end |
#updated_by!(user, samples) ⇒ Object
6 7 8 |
# File 'app/models/sample_manifest/shared_tube_behaviour.rb', line 6 def updated_by!(user, samples) # Does nothing at the moment end |