Class: Spree::LegacyUser
- Includes:
- UserAddress, 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
Methods inherited from Base
Methods included from Preferences::Preferable
#clear_preferences, #default_preferences, #defined_preferences, #get_preference, #has_preference!, #has_preference?, #preference_default, #preference_type, #set_preference
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 |