Class: BroadcastEvent::PlateLibraryComplete
- Inherits:
-
BroadcastEvent
- Object
- ActiveRecord::Base
- ApplicationRecord
- BroadcastEvent
- BroadcastEvent::PlateLibraryComplete
- Defined in:
- app/models/broadcast_event/plate_library_complete.rb
Overview
Probably unused - BroadcastEvent::PlateLibraryComplete records are present 2015-2017 only
Constant Summary
Constants inherited from BroadcastEvent
EVENT_JSON_ROOT, UNKNOWN_USER_IDENTIFIER
Instance Method Summary collapse
Methods inherited from BroadcastEvent
#event_type, #json_root, #metadata, #routing_key, set_event_type, #subjects, #user_identifier
Methods included from SubjectHelpers::SubjectableClassMethods
#has_subject, #has_subjects, #seed_class, #seed_subject, #subject_associations
Methods included from MetadataHelpers::MetadatableClassMethods
#has_metadata, #metadata_finders
Methods included from RenderHelpers::RenderableClassMethods
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
#order ⇒ Object
21 22 23 |
# File 'app/models/broadcast_event/plate_library_complete.rb', line 21 def order @order ||= Order.includes(:study, :project, :submission).find(properties[:order_id]) end |
#order_id ⇒ Object
25 26 27 |
# File 'app/models/broadcast_event/plate_library_complete.rb', line 25 def order_id properties[:order_id] end |