Class: SaasPlatform::CardComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- SaasPlatform::CardComponent
- Defined in:
- app/components/saas_platform/card_component.rb
Instance Method Summary collapse
-
#initialize(glass: true, padding: :md, **system_arguments) ⇒ CardComponent
constructor
A new instance of CardComponent.
Constructor Details
#initialize(glass: true, padding: :md, **system_arguments) ⇒ CardComponent
Returns a new instance of CardComponent.
3 4 5 6 7 |
# File 'app/components/saas_platform/card_component.rb', line 3 def initialize(glass: true, padding: :md, **system_arguments) @glass = glass @padding = padding @system_arguments = system_arguments end |