Class: LabwareCreators::PlateWithTemplate

Inherits:
Base
  • Object
show all
Includes:
SupportParent::PlateOnly
Defined in:
app/models/labware_creators/plate_with_template.rb

Overview

rubocop:todo Style/Documentation

Instance Method Summary collapse

Constructor Details

This class inherits a constructor from LabwareCreators::Base

Instance Method Details

#parentObject Originally defined in module SupportParent::PlateOnly

#transfer_material_from_parent!(child_uuid) ⇒ Object



10
11
12
# File 'app/models/labware_creators/plate_with_template.rb', line 10

def transfer_material_from_parent!(child_uuid)
  transfer_template.create!(source: parent_uuid, destination: child_uuid, user: user_uuid)
end