Sha256: cc335fcd40f1e43e313a516988f13195fbc55a7f9fdf9dbc68a924fbeb865b8a

Contents?: true

Size: 476 Bytes

Versions: 2

Compression:

Stored size: 476 Bytes

Contents

# frozen_string_literal: true

# Account navigation
class SolidusAdmin::Sidebar::AccountNav::Component < SolidusAdmin::BaseComponent
  # @param user_label [String]
  # @param account_path [String]
  # @param logout_path [String]
  # @param logout_method [Symbol]
  def initialize(user_label:, account_path:, logout_path:, logout_method:)
    @user_label = user_label
    @account_path = account_path
    @logout_path = logout_path
    @logout_method = logout_method
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_admin-0.0.2 app/components/solidus_admin/sidebar/account_nav/component.rb
solidus_admin-0.0.1 app/components/solidus_admin/sidebar/account_nav/component.rb