Class: Ezid::LoginResponse Private

Inherits:
Response
  • Object
show all
Defined in:
lib/ezid/responses/login_response.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Response to a login request

Constant Summary

Constants inherited from Response

Response::ERROR, Response::SUCCESS

Instance Method Summary collapse

Methods inherited from Response

#content, #error?, #error_class, #exception, #initialize, #message, #outcome, #status, #status_line, #success?, #uri_path

Constructor Details

This class inherits a constructor from Ezid::Response

Instance Method Details

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



10
11
12
# File 'lib/ezid/responses/login_response.rb', line 10

def cookie
  self["Set-Cookie"].split(";").first rescue nil
end