Class: Assistant::TechnicalSupport::CaseEventStream::EventBuilder::Base

Inherits:
Object
  • Object
show all
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.

Constant Summary collapse

RawEvent =
Assistant::TechnicalSupport::CaseEventStream::EventBuilder::RawEvent

Instance Method Summary collapse

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