Class: Artisan::Reports::HighChartsInteractor
- Inherits:
-
Object
- Object
- Artisan::Reports::HighChartsInteractor
- Defined in:
- lib/artisan/reports/high_charts_interactor.rb
Instance Attribute Summary collapse
-
#project ⇒ Object
readonly
Returns the value of attribute project.
Instance Method Summary collapse
- #average_standard_deviation_per_iteration_chart ⇒ Object
- #average_story_size_per_iteration_chart ⇒ Object
- #burn_up_chart ⇒ Object
-
#initialize(project) ⇒ HighChartsInteractor
constructor
A new instance of HighChartsInteractor.
- #percentage_of_commitments_met ⇒ Object
- #percentage_of_commitments_met_chart ⇒ Object
Constructor Details
#initialize(project) ⇒ HighChartsInteractor
Returns a new instance of HighChartsInteractor.
8 9 10 |
# File 'lib/artisan/reports/high_charts_interactor.rb', line 8 def initialize(project) @project = project end |
Instance Attribute Details
#project ⇒ Object (readonly)
Returns the value of attribute project.
6 7 8 |
# File 'lib/artisan/reports/high_charts_interactor.rb', line 6 def project @project end |
Instance Method Details
#average_standard_deviation_per_iteration_chart ⇒ Object
20 21 22 |
# File 'lib/artisan/reports/high_charts_interactor.rb', line 20 def average_standard_deviation_per_iteration_chart Artisan::Reports::HighChartsDataRetriever.build_average_standard_deviation_per_iteration_chart(@project) end |
#average_story_size_per_iteration_chart ⇒ Object
16 17 18 |
# File 'lib/artisan/reports/high_charts_interactor.rb', line 16 def average_story_size_per_iteration_chart Artisan::Reports::HighChartsDataRetriever.build_average_story_size_per_iteration_chart(@project) end |
#burn_up_chart ⇒ Object
12 13 14 |
# File 'lib/artisan/reports/high_charts_interactor.rb', line 12 def burn_up_chart Artisan::Reports::HighChartsDataRetriever.build_burn_up_chart(@project) end |
#percentage_of_commitments_met ⇒ Object
28 29 30 |
# File 'lib/artisan/reports/high_charts_interactor.rb', line 28 def percentage_of_commitments_met Artisan::Reports::HighChartsDataRetriever.percentage_of_commitments_met(@project) end |
#percentage_of_commitments_met_chart ⇒ Object
24 25 26 |
# File 'lib/artisan/reports/high_charts_interactor.rb', line 24 def percentage_of_commitments_met_chart Artisan::Reports::HighChartsDataRetriever.build_percentage_of_commitments_met_chart(@project) end |