Class: Assistant::TechnicalSupport::CaseEventStream::SourceCoverage

Inherits:
Data
  • Object
show all
Defined in:
app/services/assistant/technical_support/case_event_stream.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source_type:, records_found: 0, records_included: 0, records_unavailable: 0, notes: []) ⇒ SourceCoverage

records_unavailable is a subset of records_included: unavailable
sources still emit an auditable placeholder event and a blocker.



48
49
50
51
52
53
# File 'app/services/assistant/technical_support/case_event_stream.rb', line 48

def initialize(
  source_type:, records_found: 0, records_included: 0,
  records_unavailable: 0, notes: []
)
  super
end

Instance Attribute Details

#notesObject (readonly)

Returns the value of attribute notes

Returns:

  • (Object)

    the current value of notes



39
40
41
# File 'app/services/assistant/technical_support/case_event_stream.rb', line 39

def notes
  @notes
end

#records_foundObject (readonly)

Returns the value of attribute records_found

Returns:

  • (Object)

    the current value of records_found



39
40
41
# File 'app/services/assistant/technical_support/case_event_stream.rb', line 39

def records_found
  @records_found
end

#records_includedObject (readonly)

Returns the value of attribute records_included

Returns:

  • (Object)

    the current value of records_included



39
40
41
# File 'app/services/assistant/technical_support/case_event_stream.rb', line 39

def records_included
  @records_included
end

#records_unavailableObject (readonly)

Returns the value of attribute records_unavailable

Returns:

  • (Object)

    the current value of records_unavailable



39
40
41
# File 'app/services/assistant/technical_support/case_event_stream.rb', line 39

def records_unavailable
  @records_unavailable
end

#source_typeObject (readonly)

Returns the value of attribute source_type

Returns:

  • (Object)

    the current value of source_type



39
40
41
# File 'app/services/assistant/technical_support/case_event_stream.rb', line 39

def source_type
  @source_type
end