Sha256: 8b5434b191965140f6660200dd83957ef723b019a3e2ee5a480d115b97d9c851

Contents?: true

Size: 220 Bytes

Versions: 6

Compression:

Stored size: 220 Bytes

Contents

require_relative "response"

module Ezid
  # 
  # Response to a login request
  # @api private
  #
  class LoginResponse < Response

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

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ezid-client-1.1.1 lib/ezid/responses/login_response.rb
ezid-client-1.1.0 lib/ezid/responses/login_response.rb
ezid-client-1.0.1 lib/ezid/responses/login_response.rb
ezid-client-1.0.0 lib/ezid/responses/login_response.rb
ezid-client-0.13.0 lib/ezid/responses/login_response.rb
ezid-client-0.12.0 lib/ezid/responses/login_response.rb