Class: BroadcastEvent::PoolReleased

Inherits:
BroadcastEvent show all
Defined in:
app/models/broadcast_event/pool_released.rb

Overview

At time of writing, this event type is fired when multiplexed library tubes are passed. BroadcastEvent::LibraryComplete events used to be fired at this time point, however they were redefined to be fired at the ‘charge and pass’ stage, because that made more sense to the users.

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

#render_class

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

extended

Instance Method Details

#orderObject



34
35
36
# File 'app/models/broadcast_event/pool_released.rb', line 34

def order
  @order ||= Order.includes(:study, :project, :submission).find(properties[:order_id])
end