Class: QaServer::MonitorStatusPresenter

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
app/presenters/qa_server/monitor_status_presenter.rb

Instance Method Summary collapse

Constructor Details

#initialize(current_summary:, current_failure_data:, historical_summary_data:, performance_data:) ⇒ 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