Class: Spree::LegacyUser

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Core::UserAddress, Core::UserPaymentSource
Defined in:
app/models/spree/legacy_user.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#passwordObject

Returns the value of attribute password.



17
18
19
# File 'app/models/spree/legacy_user.rb', line 17

def password
  @password
end

#password_confirmationObject

Returns the value of attribute password_confirmation.



18
19
20
# File 'app/models/spree/legacy_user.rb', line 18

def password_confirmation
  @password_confirmation
end

Instance Method Details

#has_spree_role?(role) ⇒ Boolean

Returns:

  • (Boolean)


13
14
15
# File 'app/models/spree/legacy_user.rb', line 13

def has_spree_role?(role)
  true
end