Class: Ibrain::LegacyUser

Inherits:
Base show all
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

Base::IGNORE_ATTRIBUTES

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from UserMethods

#auto_generate_ibrain_api_key

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

#passwordObject

Returns the value of attribute password.



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

def password
  @password
end

#password_confirmationObject

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_nameObject



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

def self.model_name
  ActiveModel::Name.new Ibrain::LegacyUser, Ibrain, 'user'
end