Class: Event

Inherits:
ApplicationRecord show all
Includes:
RequestDescriptorUpdateEvent, Uuid::Uuidable
Defined in:
app/models/event.rb

Defined Under Namespace

Modules: PlateEvents, RequestDescriptorUpdateEvent Classes: AssetSetQcStateEvent, PlateCreationEvent, SampleLogisticsQcEvent, SampleManifestEvent, ScannedIntoLabEvent, SequenomLoading

Instance Method Summary collapse

Methods included from RequestDescriptorUpdateEvent

included, #library_creation_descriptor?, #pass_or_fail_event?, #set_request_metadata, #update_metadata_for_request

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

#request?Boolean

Returns:

  • (Boolean)

11
12
13
# File 'app/models/event.rb', line 11

def request?
  eventful.is_a?(Request)
end