Class: QaServer::MonitorStatusPresenter
- Inherits:
-
Object
- Object
- QaServer::MonitorStatusPresenter
- Extended by:
- Forwardable
- Defined in:
- app/presenters/qa_server/monitor_status_presenter.rb
Instance Method Summary collapse
-
#initialize(current_summary:, current_failure_data:, historical_summary_data:, performance_data:) ⇒ MonitorStatusPresenter
constructor
A new instance of MonitorStatusPresenter.
Constructor Details
#initialize(current_summary:, current_failure_data:, historical_summary_data:, performance_data:) ⇒ MonitorStatusPresenter
Returns a new instance of MonitorStatusPresenter.
11 12 13 14 15 |
# File 'app/presenters/qa_server/monitor_status_presenter.rb', line 11 def initialize(current_summary:, current_failure_data:, historical_summary_data:, performance_data:) @current_status_presenter = QaServer::MonitorStatus::CurrentStatusPresenter.new(parent: self, current_summary: current_summary, current_failure_data: current_failure_data) @history_presenter = QaServer::MonitorStatus::HistoryPresenter.new(parent: self, historical_summary_data: historical_summary_data) @performance_presenter = QaServer::MonitorStatus::PerformancePresenter.new(parent: self, performance_data: performance_data) end |