Class: Phone::CallLogEventToRecordMatcher::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/phone/call_log_event_to_record_matcher.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(records_processed: nil, records_matched: nil, records_unmatched: nil, messages: []) ⇒ Result

Returns a new instance of Result.



4
# File 'app/services/phone/call_log_event_to_record_matcher.rb', line 4

def initialize(records_processed: nil, records_matched: nil, records_unmatched: nil, messages: []) = super

Instance Attribute Details

#messagesObject (readonly)

Returns the value of attribute messages

Returns:

  • (Object)

    the current value of messages



3
4
5
# File 'app/services/phone/call_log_event_to_record_matcher.rb', line 3

def messages
  @messages
end

#records_matchedObject (readonly)

Returns the value of attribute records_matched

Returns:

  • (Object)

    the current value of records_matched



3
4
5
# File 'app/services/phone/call_log_event_to_record_matcher.rb', line 3

def records_matched
  @records_matched
end

#records_processedObject (readonly)

Returns the value of attribute records_processed

Returns:

  • (Object)

    the current value of records_processed



3
4
5
# File 'app/services/phone/call_log_event_to_record_matcher.rb', line 3

def records_processed
  @records_processed
end

#records_unmatchedObject (readonly)

Returns the value of attribute records_unmatched

Returns:

  • (Object)

    the current value of records_unmatched



3
4
5
# File 'app/services/phone/call_log_event_to_record_matcher.rb', line 3

def records_unmatched
  @records_unmatched
end