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