Class: LWS::Auth::User
- Inherits:
-
Generic::Model
- Object
- Generic::Model
- LWS::Auth::User
- Defined in:
- lib/lws/auth.rb
Overview
Instance Attribute Summary collapse
-
#account ⇒ Account
The account that the user belongs to.
-
#account_id ⇒ Fixnum
The ID of the account that the user belongs to.
-
#created_at ⇒ String
The timestamp of when the user was created.
-
#email ⇒ String
The email address of the user.
-
#id ⇒ Fixnum
readonly
The (unique) ID of the user.
-
#password_digest ⇒ String
The digested version of the password of the user.
-
#updated_at ⇒ String
The timestamp of when the user was last updated.
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ User
constructor
A new instance of User.
Constructor Details
#initialize(attrs = {}) ⇒ User
Returns a new instance of User.
297 298 299 |
# File 'lib/lws/auth.rb', line 297 def initialize(attrs = {}) super end |
Instance Attribute Details
#account ⇒ Account
Returns the account that the user belongs to.
286 |
# File 'lib/lws/auth.rb', line 286 belongs_to :account |
#account_id ⇒ Fixnum
Returns the ID of the account that the user belongs to.
|
|
# File 'lib/lws/auth.rb', line 288
|
#created_at ⇒ String
Returns the timestamp of when the user was created.
|
|
# File 'lib/lws/auth.rb', line 291
|
#email ⇒ String
Returns the email address of the user.
|
|
# File 'lib/lws/auth.rb', line 278
|
#id ⇒ Fixnum (readonly)
Returns the (unique) ID of the user.
|
|
# File 'lib/lws/auth.rb', line 275
|
#password_digest ⇒ String
Returns the digested version of the password of the user.
|
|
# File 'lib/lws/auth.rb', line 281
|
#updated_at ⇒ String
Returns the timestamp of when the user was last updated.
297 298 299 |
# File 'lib/lws/auth.rb', line 297 def initialize(attrs = {}) super end |