Class: SolidusAdmin::Users::Stats::Component

Inherits:
BaseComponent
  • Object
show all
Includes:
LastLoginHelper
Defined in:
app/components/solidus_admin/users/stats/component.rb

Instance Method Summary collapse

Methods included from LastLoginHelper

#last_login

Constructor Details

#initialize(user:) ⇒ Component

Returns a new instance of Component.



6
7
8
# File 'app/components/solidus_admin/users/stats/component.rb', line 6

def initialize(user:)
  @user = user
end