Class: WOWSQL::AuthUser
- Inherits:
-
Struct
- Object
- Struct
- WOWSQL::AuthUser
- Defined in:
- lib/wowsql/auth.rb
Overview
Represents an authenticated user.
Instance Attribute Summary collapse
-
#app_metadata ⇒ Object
Returns the value of attribute app_metadata.
-
#avatar_url ⇒ Object
Returns the value of attribute avatar_url.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#email ⇒ Object
Returns the value of attribute email.
-
#email_verified ⇒ Object
Returns the value of attribute email_verified.
-
#full_name ⇒ Object
Returns the value of attribute full_name.
-
#id ⇒ Object
Returns the value of attribute id.
-
#user_metadata ⇒ Object
Returns the value of attribute user_metadata.
Instance Method Summary collapse
-
#initialize(id: '', email: '', full_name: nil, avatar_url: nil, email_verified: false, user_metadata: nil, app_metadata: nil, created_at: nil) ⇒ AuthUser
constructor
A new instance of AuthUser.
Constructor Details
#initialize(id: '', email: '', full_name: nil, avatar_url: nil, email_verified: false, user_metadata: nil, app_metadata: nil, created_at: nil) ⇒ AuthUser
Returns a new instance of AuthUser.
12 13 14 15 16 |
# File 'lib/wowsql/auth.rb', line 12 def initialize(id: '', email: '', full_name: nil, avatar_url: nil, email_verified: false, user_metadata: nil, app_metadata: nil, created_at: nil) super end |
Instance Attribute Details
#app_metadata ⇒ Object
Returns the value of attribute app_metadata
7 8 9 |
# File 'lib/wowsql/auth.rb', line 7 def @app_metadata end |
#avatar_url ⇒ Object
Returns the value of attribute avatar_url
7 8 9 |
# File 'lib/wowsql/auth.rb', line 7 def avatar_url @avatar_url end |
#created_at ⇒ Object
Returns the value of attribute created_at
7 8 9 |
# File 'lib/wowsql/auth.rb', line 7 def created_at @created_at end |
#email ⇒ Object
Returns the value of attribute email
7 8 9 |
# File 'lib/wowsql/auth.rb', line 7 def email @email end |
#email_verified ⇒ Object
Returns the value of attribute email_verified
7 8 9 |
# File 'lib/wowsql/auth.rb', line 7 def email_verified @email_verified end |
#full_name ⇒ Object
Returns the value of attribute full_name
7 8 9 |
# File 'lib/wowsql/auth.rb', line 7 def full_name @full_name end |
#id ⇒ Object
Returns the value of attribute id
7 8 9 |
# File 'lib/wowsql/auth.rb', line 7 def id @id end |
#user_metadata ⇒ Object
Returns the value of attribute user_metadata
7 8 9 |
# File 'lib/wowsql/auth.rb', line 7 def @user_metadata end |