Class: StompBase::Dashboard::StatsSummaryComponent

Inherits:
BaseComponent
  • Object
show all
Defined in:
app/components/stomp_base/dashboard/stats_summary_component.rb

Instance Method Summary collapse

Methods inherited from BaseComponent

#call, #render?

Constructor Details

#initialize(system_info:, performance_info:) ⇒ StatsSummaryComponent

Returns a new instance of StatsSummaryComponent.



6
7
8
9
10
# File 'app/components/stomp_base/dashboard/stats_summary_component.rb', line 6

def initialize(system_info:, performance_info:)
  super()
  @system_info = system_info
  @performance_info = performance_info
end