Class: SignOutButtonComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- SignOutButtonComponent
- Defined in:
- app/components/sign_out_button_component.rb
Instance Method Summary collapse
-
#initialize(resource:) ⇒ SignOutButtonComponent
constructor
A new instance of SignOutButtonComponent.
Constructor Details
#initialize(resource:) ⇒ SignOutButtonComponent
Returns a new instance of SignOutButtonComponent.
4 5 6 |
# File 'app/components/sign_out_button_component.rb', line 4 def initialize(resource:) @resource = resource end |