Class: Ibrain::LegacyUser
- Inherits:
-
Base
- Object
- ActiveRecord::Base
- ApplicationRecord
- Base
- Ibrain::LegacyUser
- Includes:
- UserMethods
- Defined in:
- app/models/ibrain/legacy_user.rb
Overview
Note:
This class is intended to be modified by extensions (ex. ibrain-auth)
Default implementation of User.
Constant Summary
Constants inherited from Base
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
Methods included from UserApiAuthentication
#clear_ibrain_api_key, #clear_ibrain_api_key!, #generate_ibrain_api_key, #generate_ibrain_api_key!
Methods inherited from Base
adjust_date_for_cdt, #created_in_word, #cryptor, display_includes, paginate, permitted_attributes, #string_id
Instance Attribute Details
#password ⇒ Object
Returns the value of attribute password.
17 18 19 |
# File 'app/models/ibrain/legacy_user.rb', line 17 def password @password end |
#password_confirmation ⇒ Object
Returns the value of attribute password_confirmation.
17 18 19 |
# File 'app/models/ibrain/legacy_user.rb', line 17 def password_confirmation @password_confirmation end |
Class Method Details
.model_name ⇒ Object
13 14 15 |
# File 'app/models/ibrain/legacy_user.rb', line 13 def self.model_name ActiveModel::Name.new Ibrain::LegacyUser, Ibrain, 'user' end |