Class: DailyFocus::ReviewDataBuilder::Result
- Inherits:
-
Data
- Object
- Data
- DailyFocus::ReviewDataBuilder::Result
- Defined in:
- app/services/daily_focus/review_data_builder.rb
Overview
Fixed contract for the review page (controller assigns each field to an ivar).
Instance Attribute Summary collapse
-
#approved_count ⇒ Object
readonly
Returns the value of attribute approved_count.
-
#briefings_recorded_count ⇒ Object
readonly
Returns the value of attribute briefings_recorded_count.
-
#missing_count ⇒ Object
readonly
Returns the value of attribute missing_count.
-
#pending_count ⇒ Object
readonly
Returns the value of attribute pending_count.
-
#processing_count ⇒ Object
readonly
Returns the value of attribute processing_count.
-
#rep_rows ⇒ Object
readonly
Returns the value of attribute rep_rows.
-
#total_reps_count ⇒ Object
readonly
Returns the value of attribute total_reps_count.
Instance Method Summary collapse
-
#initialize(rep_rows: nil, processing_count: nil, pending_count: nil, approved_count: nil, missing_count: nil, briefings_recorded_count: nil, total_reps_count: nil) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(rep_rows: nil, processing_count: nil, pending_count: nil, approved_count: nil, missing_count: nil, briefings_recorded_count: nil, total_reps_count: nil) ⇒ Result
Returns a new instance of Result.
19 20 21 22 23 24 25 26 27 |
# File 'app/services/daily_focus/review_data_builder.rb', line 19 def initialize( rep_rows: nil, processing_count: nil, pending_count: nil, approved_count: nil, missing_count: nil, briefings_recorded_count: nil, total_reps_count: nil ) = super |
Instance Attribute Details
#approved_count ⇒ Object (readonly)
Returns the value of attribute approved_count
10 11 12 |
# File 'app/services/daily_focus/review_data_builder.rb', line 10 def approved_count @approved_count end |
#briefings_recorded_count ⇒ Object (readonly)
Returns the value of attribute briefings_recorded_count
10 11 12 |
# File 'app/services/daily_focus/review_data_builder.rb', line 10 def briefings_recorded_count @briefings_recorded_count end |
#missing_count ⇒ Object (readonly)
Returns the value of attribute missing_count
10 11 12 |
# File 'app/services/daily_focus/review_data_builder.rb', line 10 def missing_count @missing_count end |
#pending_count ⇒ Object (readonly)
Returns the value of attribute pending_count
10 11 12 |
# File 'app/services/daily_focus/review_data_builder.rb', line 10 def pending_count @pending_count end |
#processing_count ⇒ Object (readonly)
Returns the value of attribute processing_count
10 11 12 |
# File 'app/services/daily_focus/review_data_builder.rb', line 10 def processing_count @processing_count end |
#rep_rows ⇒ Object (readonly)
Returns the value of attribute rep_rows
10 11 12 |
# File 'app/services/daily_focus/review_data_builder.rb', line 10 def rep_rows @rep_rows end |
#total_reps_count ⇒ Object (readonly)
Returns the value of attribute total_reps_count
10 11 12 |
# File 'app/services/daily_focus/review_data_builder.rb', line 10 def total_reps_count @total_reps_count end |