Class: SolidusAdmin::Sidebar::AccountNav::Component

Inherits:
BaseComponent
  • Object
show all
Defined in:
app/components/solidus_admin/sidebar/account_nav/component.rb

Overview

Account navigation

Instance Method Summary collapse

Constructor Details

#initialize(user_label:, account_path:, logout_path:, logout_method:) ⇒ Component

Returns a new instance of Component.

Parameters:

  • user_label (String)
  • account_path (String)
  • logout_path (String)
  • logout_method (Symbol)


9
10
11
12
13
14
# File 'app/components/solidus_admin/sidebar/account_nav/component.rb', line 9

def initialize(user_label:, account_path:, logout_path:, logout_method:)
  @user_label = user_label
  @account_path = 
  @logout_path = logout_path
  @logout_method = logout_method
end