Class: Assistant::TechnicalSupport::CaseEventStream::EventBuilder::Base
- Inherits:
-
Object
- Object
- Assistant::TechnicalSupport::CaseEventStream::EventBuilder::Base
- Defined in:
- app/services/assistant/technical_support/case_event_stream/event_builder/base.rb
Overview
Shared plumbing for source-specific case evidence serializers. Subclasses
decide which fields carry meaning; this base owns normalization and coverage.
Direct Known Subclasses
ActivitySerializer, CallRecordSerializer, CommerceSerializer, CommunicationSerializer, RmaSerializer, RoomConfigurationSerializer, SupportCaseSerializer, UploadSerializer
Constant Summary collapse
- RawEvent =
Assistant::TechnicalSupport::CaseEventStream::EventBuilder::RawEvent
Instance Method Summary collapse
-
#initialize(graph:, redactor:, on_record:, on_unavailable:, next_sequence:) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(graph:, redactor:, on_record:, on_unavailable:, next_sequence:) ⇒ Base
Returns a new instance of Base.
8 9 10 11 12 13 14 |
# File 'app/services/assistant/technical_support/case_event_stream/event_builder/base.rb', line 8 def initialize(graph:, redactor:, on_record:, on_unavailable:, next_sequence:) @graph = graph @redactor = redactor @on_record = on_record @on_unavailable = on_unavailable @next_sequence = next_sequence end |