Class: Spree::LegacyUser
- Includes:
- UserMethods
- Defined in:
- app/models/spree/legacy_user.rb
Overview
This class is intended to be modified by extensions (ex. spree_auth_devise)
Default implementation of User.
Instance Attribute Summary collapse
-
#password ⇒ Object
Returns the value of attribute password.
-
#password_confirmation ⇒ Object
Returns the value of attribute password_confirmation.
Class Method Summary collapse
Methods included from UserMethods
#auto_generate_spree_api_key, #available_store_credit_total, #can_be_deleted?, #display_available_store_credit_total, #has_spree_role?, #last_incomplete_spree_order, #update_spree_roles, #wallet
Methods included from UserAddressBook
#bill_address=, #bill_address_attributes=, #mark_default_bill_address, #mark_default_ship_address, #persist_order_address, #remove_from_address_book, #save_in_address_book, #ship_address=, #ship_address_attributes=
Methods included from UserReporting
#average_order_value, #lifetime_value, #order_count
Methods included from DisplayMoney
Methods included from UserApiAuthentication
#clear_spree_api_key, #clear_spree_api_key!, #generate_spree_api_key, #generate_spree_api_key!
Methods inherited from Base
Methods included from Core::Permalinks
#generate_permalink, #save_permalink
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 |
Class Method Details
.model_name ⇒ Object
13 14 15 |
# File 'app/models/spree/legacy_user.rb', line 13 def self.model_name ActiveModel::Name.new Spree::LegacyUser, Spree, 'user' end |