Class: CurrentUserMiniCardComponent

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
lib/app/components/current_user_mini_card_component.rb

Instance Method Summary collapse

Constructor Details

#initialize(user:) ⇒ CurrentUserMiniCardComponent

Returns a new instance of CurrentUserMiniCardComponent.



4
5
6
# File 'lib/app/components/current_user_mini_card_component.rb', line 4

def initialize(user:)
  @user = user
end