Class: Report::CallStatistics::Query::Result
- Inherits:
-
Data
- Object
- Data
- Report::CallStatistics::Query::Result
- Defined in:
- app/services/report/call_statistics/query.rb
Instance Attribute Summary collapse
-
#date_end ⇒ Object
readonly
Returns the value of attribute date_end.
-
#date_start ⇒ Object
readonly
Returns the value of attribute date_start.
-
#individuals ⇒ Object
readonly
Returns the value of attribute individuals.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#success ⇒ Object
readonly
Returns the value of attribute success.
-
#summary ⇒ Object
readonly
Returns the value of attribute summary.
Instance Method Summary collapse
-
#initialize(success: nil, individuals: [], summary: nil, message: nil, date_start: nil, date_end: nil) ⇒ Result
constructor
A new instance of Result.
- #success? ⇒ Boolean
Constructor Details
#initialize(success: nil, individuals: [], summary: nil, message: nil, date_start: nil, date_end: nil) ⇒ Result
Returns a new instance of Result.
5 |
# File 'app/services/report/call_statistics/query.rb', line 5 def initialize(success: nil, individuals: [], summary: nil, message: nil, date_start: nil, date_end: nil) = super |
Instance Attribute Details
#date_end ⇒ Object (readonly)
Returns the value of attribute date_end
4 5 6 |
# File 'app/services/report/call_statistics/query.rb', line 4 def date_end @date_end end |
#date_start ⇒ Object (readonly)
Returns the value of attribute date_start
4 5 6 |
# File 'app/services/report/call_statistics/query.rb', line 4 def date_start @date_start end |
#individuals ⇒ Object (readonly)
Returns the value of attribute individuals
4 5 6 |
# File 'app/services/report/call_statistics/query.rb', line 4 def individuals @individuals end |
#message ⇒ Object (readonly)
Returns the value of attribute message
4 5 6 |
# File 'app/services/report/call_statistics/query.rb', line 4 def @message end |
#success ⇒ Object (readonly)
Returns the value of attribute success
4 5 6 |
# File 'app/services/report/call_statistics/query.rb', line 4 def success @success end |
#summary ⇒ Object (readonly)
Returns the value of attribute summary
4 5 6 |
# File 'app/services/report/call_statistics/query.rb', line 4 def summary @summary end |
Instance Method Details
#success? ⇒ Boolean
6 |
# File 'app/services/report/call_statistics/query.rb', line 6 def success? = success |