Class: SaasPlatform::CardComponent

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
app/components/saas_platform/card_component.rb

Instance Method Summary collapse

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