Class: Assistant::TechnicalSupport::CaseEventStream::SourceCoverage
- Inherits:
-
Data
- Object
- Data
- Assistant::TechnicalSupport::CaseEventStream::SourceCoverage
- Defined in:
- app/services/assistant/technical_support/case_event_stream.rb
Instance Attribute Summary collapse
-
#notes ⇒ Object
readonly
Returns the value of attribute notes.
-
#records_found ⇒ Object
readonly
Returns the value of attribute records_found.
-
#records_included ⇒ Object
readonly
Returns the value of attribute records_included.
-
#records_unavailable ⇒ Object
readonly
Returns the value of attribute records_unavailable.
-
#source_type ⇒ Object
readonly
Returns the value of attribute source_type.
Instance Method Summary collapse
-
#initialize(source_type:, records_found: 0, records_included: 0, records_unavailable: 0, notes: []) ⇒ SourceCoverage
constructor
records_unavailable is a subset of records_included: unavailable sources still emit an auditable placeholder event and a blocker.
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
#notes ⇒ Object (readonly)
Returns the value of attribute notes
39 40 41 |
# File 'app/services/assistant/technical_support/case_event_stream.rb', line 39 def notes @notes end |
#records_found ⇒ Object (readonly)
Returns the value of attribute records_found
39 40 41 |
# File 'app/services/assistant/technical_support/case_event_stream.rb', line 39 def records_found @records_found end |
#records_included ⇒ Object (readonly)
Returns the value of attribute records_included
39 40 41 |
# File 'app/services/assistant/technical_support/case_event_stream.rb', line 39 def records_included @records_included end |
#records_unavailable ⇒ Object (readonly)
Returns the value of attribute records_unavailable
39 40 41 |
# File 'app/services/assistant/technical_support/case_event_stream.rb', line 39 def records_unavailable @records_unavailable end |
#source_type ⇒ Object (readonly)
Returns the value of attribute source_type
39 40 41 |
# File 'app/services/assistant/technical_support/case_event_stream.rb', line 39 def source_type @source_type end |