Class: ChronoForge::Dashboard::AnalyticsQuery::Bucket
- Inherits:
-
Struct
- Object
- Struct
- ChronoForge::Dashboard::AnalyticsQuery::Bucket
- Defined in:
- app/queries/chrono_forge/dashboard/analytics_query.rb
Instance Attribute Summary collapse
-
#avg_duration ⇒ Object
Returns the value of attribute avg_duration.
-
#completed ⇒ Object
Returns the value of attribute completed.
-
#day ⇒ Object
Returns the value of attribute day.
-
#failed ⇒ Object
Returns the value of attribute failed.
Instance Method Summary collapse
Instance Attribute Details
#avg_duration ⇒ Object
Returns the value of attribute avg_duration
25 26 27 |
# File 'app/queries/chrono_forge/dashboard/analytics_query.rb', line 25 def avg_duration @avg_duration end |
#completed ⇒ Object
Returns the value of attribute completed
25 26 27 |
# File 'app/queries/chrono_forge/dashboard/analytics_query.rb', line 25 def completed @completed end |
#day ⇒ Object
Returns the value of attribute day
25 26 27 |
# File 'app/queries/chrono_forge/dashboard/analytics_query.rb', line 25 def day @day end |
#failed ⇒ Object
Returns the value of attribute failed
25 26 27 |
# File 'app/queries/chrono_forge/dashboard/analytics_query.rb', line 25 def failed @failed end |
Instance Method Details
#terminal ⇒ Object
26 |
# File 'app/queries/chrono_forge/dashboard/analytics_query.rb', line 26 def terminal = completed + failed |