Class: ChronoForge::Dashboard::OverviewQuery::Row
- Inherits:
-
Struct
- Object
- Struct
- ChronoForge::Dashboard::OverviewQuery::Row
- Defined in:
- app/queries/chrono_forge/dashboard/overview_query.rb
Overview
A class's counts, bucketed the way the Overview reads them: processed (done), in-flight (live work), blocked (needs triage).
Instance Attribute Summary collapse
-
#blocked ⇒ Object
Returns the value of attribute blocked.
-
#in_flight ⇒ Object
Returns the value of attribute in_flight.
-
#job_class ⇒ Object
Returns the value of attribute job_class.
-
#processed ⇒ Object
Returns the value of attribute processed.
Instance Method Summary collapse
Instance Attribute Details
#blocked ⇒ Object
Returns the value of attribute blocked
13 14 15 |
# File 'app/queries/chrono_forge/dashboard/overview_query.rb', line 13 def blocked @blocked end |
#in_flight ⇒ Object
Returns the value of attribute in_flight
13 14 15 |
# File 'app/queries/chrono_forge/dashboard/overview_query.rb', line 13 def in_flight @in_flight end |
#job_class ⇒ Object
Returns the value of attribute job_class
13 14 15 |
# File 'app/queries/chrono_forge/dashboard/overview_query.rb', line 13 def job_class @job_class end |
#processed ⇒ Object
Returns the value of attribute processed
13 14 15 |
# File 'app/queries/chrono_forge/dashboard/overview_query.rb', line 13 def processed @processed end |
Instance Method Details
#total ⇒ Object
14 |
# File 'app/queries/chrono_forge/dashboard/overview_query.rb', line 14 def total = processed + in_flight + blocked |