Class: CodengageViewComponents::EmptyStateActionComponent
- Inherits:
-
ApplicationComponent
- Object
- ViewComponent::Base
- ApplicationComponent
- CodengageViewComponents::EmptyStateActionComponent
- Defined in:
- app/components/codengage_view_components/empty_state_action_component.rb
Instance Method Summary collapse
-
#initialize(value:, href:, options: {}) ⇒ EmptyStateActionComponent
constructor
A new instance of EmptyStateActionComponent.
Constructor Details
#initialize(value:, href:, options: {}) ⇒ EmptyStateActionComponent
Returns a new instance of EmptyStateActionComponent.
5 6 7 8 9 |
# File 'app/components/codengage_view_components/empty_state_action_component.rb', line 5 def initialize(value:, href:, options: {}) @value = value @href = href @options = end |