Class: StompBase::Models::SummaryCardComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- StompBase::Models::SummaryCardComponent
- Defined in:
- app/components/stomp_base/models/summary_card_component.rb
Instance Method Summary collapse
-
#initialize(table_name:, column_count:, total_count:) ⇒ SummaryCardComponent
constructor
A new instance of SummaryCardComponent.
Methods inherited from BaseComponent
Constructor Details
#initialize(table_name:, column_count:, total_count:) ⇒ SummaryCardComponent
Returns a new instance of SummaryCardComponent.
6 7 8 9 10 11 |
# File 'app/components/stomp_base/models/summary_card_component.rb', line 6 def initialize(table_name:, column_count:, total_count:) super() @table_name = table_name @column_count = column_count @total_count = total_count end |