Class: Event
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Event
- Includes:
- RequestDescriptorUpdateEvent, Uuid::Uuidable
- Defined in:
- app/models/event.rb
Direct Known Subclasses
AssetSetQcStateEvent, LabwareFailedEvent, PlateCreationEvent, SampleLogisticsQcEvent, SampleManifestEvent, ScannedIntoLabEvent, SequenomLoading, ExternalReleaseEvent
Defined Under Namespace
Modules: PlateEvents, RequestDescriptorUpdateEvent Classes: AssetSetQcStateEvent, LabwareFailedEvent, 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
alias_association, convert_labware_to_receptacle_for, find_by_id_or_name, find_by_id_or_name!
Methods included from Squishify
Instance Method Details
#request ⇒ Object
16 17 18 |
# File 'app/models/event.rb', line 16 def request eventful if request? end |
#request? ⇒ Boolean
12 13 14 |
# File 'app/models/event.rb', line 12 def request? eventful.is_a?(Request) end |