Class: Phone::CallRecordMatcher::Result
- Inherits:
-
Data
- Object
- Data
- Phone::CallRecordMatcher::Result
- Defined in:
- app/services/phone/call_record_matcher.rb
Overview
Service object: result.
Instance Attribute Summary collapse
-
#messages ⇒ Object
readonly
Returns the value of attribute messages.
-
#records_failed ⇒ Object
readonly
Returns the value of attribute records_failed.
-
#records_matched ⇒ Object
readonly
Returns the value of attribute records_matched.
-
#records_processed ⇒ Object
readonly
Returns the value of attribute records_processed.
Instance Method Summary collapse
-
#initialize(records_processed: nil, records_matched: nil, records_failed: nil, messages: []) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(records_processed: nil, records_matched: nil, records_failed: nil, messages: []) ⇒ Result
Returns a new instance of Result.
6 |
# File 'app/services/phone/call_record_matcher.rb', line 6 def initialize(records_processed: nil, records_matched: nil, records_failed: nil, messages: []) = super |
Instance Attribute Details
#messages ⇒ Object (readonly)
Returns the value of attribute messages
5 6 7 |
# File 'app/services/phone/call_record_matcher.rb', line 5 def @messages end |
#records_failed ⇒ Object (readonly)
Returns the value of attribute records_failed
5 6 7 |
# File 'app/services/phone/call_record_matcher.rb', line 5 def records_failed @records_failed end |
#records_matched ⇒ Object (readonly)
Returns the value of attribute records_matched
5 6 7 |
# File 'app/services/phone/call_record_matcher.rb', line 5 def records_matched @records_matched end |
#records_processed ⇒ Object (readonly)
Returns the value of attribute records_processed
5 6 7 |
# File 'app/services/phone/call_record_matcher.rb', line 5 def records_processed @records_processed end |