Class: Spree::UserIdentifier
- Inherits:
-
Object
- Object
- Spree::UserIdentifier
- Defined in:
- app/models/spree/user_identifier.rb
Instance Method Summary collapse
-
#initialize(user) ⇒ UserIdentifier
constructor
A new instance of UserIdentifier.
Constructor Details
#initialize(user) ⇒ UserIdentifier
Returns a new instance of UserIdentifier.
5 6 7 |
# File 'app/models/spree/user_identifier.rb', line 5 def initialize(user) @user = user || UnknownUser.new end |