Class: Spree::LegacyUser
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Spree::LegacyUser
- Includes:
- Core::UserAddress, Core::UserPaymentSource
- Defined in:
- app/models/spree/legacy_user.rb
Instance Attribute Summary collapse
-
#password ⇒ Object
Returns the value of attribute password.
-
#password_confirmation ⇒ Object
Returns the value of attribute password_confirmation.
Instance Method Summary collapse
Instance Attribute Details
#password ⇒ Object
Returns the value of attribute password.
17 18 19 |
# File 'app/models/spree/legacy_user.rb', line 17 def password @password end |
#password_confirmation ⇒ Object
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
13 14 15 |
# File 'app/models/spree/legacy_user.rb', line 13 def has_spree_role?(role) true end |