Class: Seriline::LoginResponse

Inherits:
ResponseData show all
Defined in:
lib/seriline/responses/login_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from ResponseData

#success?

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_messageObject (readonly)

Returns the value of attribute error_message.



5
6
7
# File 'lib/seriline/responses/login_response.rb', line 5

def error_message
  @error_message
end

#session_keyObject (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

#successObject (readonly)

Returns the value of attribute success.



5
6
7
# File 'lib/seriline/responses/login_response.rb', line 5

def success
  @success
end

#valid_toObject (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