Class: UatActions::PlateInformation
- Inherits:
-
UatActions
- Object
- UatActions
- UatActions::PlateInformation
- Defined in:
- app/uat_actions/uat_actions/plate_information.rb
Overview
Will fetch plate information for a plate barcode
Constant Summary
Constants inherited from UatActions
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from UatActions
all, category, find, form_field, form_fields, #form_fields, grouped_and_sorted_uat_actions, id, inherited, permitted, #report, #save, to_partial_path, uat_actions
Class Method Details
.default ⇒ Object
14 15 16 |
# File 'app/uat_actions/uat_actions/plate_information.rb', line 14 def self.default new end |
Instance Method Details
#perform ⇒ Object
18 19 20 21 22 23 24 25 26 |
# File 'app/uat_actions/uat_actions/plate_information.rb', line 18 def perform report[:plate_barcode] = return false if plate.blank? report[:wells_with_aliquots] = wells_with_aliquots report[:wells_with_active_requests_as_source] = wells_with_active_requests_as_source true end |