Class: WOWSQL::AuthResponse
- Inherits:
-
Struct
- Object
- Struct
- WOWSQL::AuthResponse
- Defined in:
- lib/wowsql/auth.rb
Overview
Response for signup/login requests.
Instance Attribute Summary collapse
-
#session ⇒ Object
Returns the value of attribute session.
-
#user ⇒ Object
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize(session:, user: nil) ⇒ AuthResponse
constructor
A new instance of AuthResponse.
Constructor Details
#initialize(session:, user: nil) ⇒ AuthResponse
Returns a new instance of AuthResponse.
31 32 33 |
# File 'lib/wowsql/auth.rb', line 31 def initialize(session:, user: nil) super end |
Instance Attribute Details
#session ⇒ Object
Returns the value of attribute session
30 31 32 |
# File 'lib/wowsql/auth.rb', line 30 def session @session end |
#user ⇒ Object
Returns the value of attribute user
30 31 32 |
# File 'lib/wowsql/auth.rb', line 30 def user @user end |