Class: BroadcastEvent::SequencingComplete

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

Overview

Generated when the QC complete message comes back from NPG. Indicates that the sequencing process is completed, and that data should be available to the customer

Author:

  • grl

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 RenderHelpers::RenderableClassMethods

#render_class

Methods included from MetadataHelpers::MetadatableClassMethods

#has_metadata, #metadata_finders

Methods included from BroadcastEvent::SubjectHelpers::SubjectableClassMethods

#has_subject, #has_subjects, #seed_class, #seed_subject, #subject_associations

Methods included from Uuid::Uuidable

included, #unsaved_uuid!, #uuid

Methods inherited from ApplicationRecord

convert_labware_to_receptacle_for, find_by_id_or_name, find_by_id_or_name!

Methods included from Warren::BroadcastMessages

#broadcast, included, #queue_associated_for_broadcast, #queue_for_broadcast, #warren

Instance Method Details

#lane_first_requestObject


29
30
31
# File 'app/models/broadcast_event/sequencing_complete.rb', line 29

def lane_first_request
  seed.requests_as_target.first
end