Class: Ezid::LoginResponse Private
- 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
- #cookie ⇒ Object private
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
#cookie ⇒ Object
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 self["Set-Cookie"].split(";").first rescue nil end |