Class: Seriline::LoginResponse
- Inherits:
-
ResponseData
- Object
- ResponseData
- Seriline::LoginResponse
- Defined in:
- lib/seriline/responses/login_response.rb
Instance Attribute Summary collapse
-
#error_message ⇒ Object
readonly
Returns the value of attribute error_message.
-
#session_key ⇒ Object
readonly
Returns the value of attribute session_key.
-
#success ⇒ Object
readonly
Returns the value of attribute success.
-
#valid_to ⇒ Object
readonly
Returns the value of attribute valid_to.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ LoginResponse
constructor
A new instance of LoginResponse.
Methods inherited from ResponseData
Constructor Details
#initialize(attributes) ⇒ LoginResponse
Returns a new instance of LoginResponse.
7 8 9 10 |
# File 'lib/seriline/responses/login_response.rb', line 7 def initialize(attributes) super(attributes) parse_valid_to end |
Instance Attribute Details
#error_message ⇒ Object (readonly)
Returns the value of attribute error_message.
5 6 7 |
# File 'lib/seriline/responses/login_response.rb', line 5 def @error_message end |
#session_key ⇒ Object (readonly)
Returns the value of attribute session_key.
5 6 7 |
# File 'lib/seriline/responses/login_response.rb', line 5 def session_key @session_key end |
#success ⇒ Object (readonly)
Returns the value of attribute success.
5 6 7 |
# File 'lib/seriline/responses/login_response.rb', line 5 def success @success end |
#valid_to ⇒ Object (readonly)
Returns the value of attribute valid_to.
5 6 7 |
# File 'lib/seriline/responses/login_response.rb', line 5 def valid_to @valid_to end |