Sha256: 98b09bec92f6758035f9e08d00cf352487f7da7bd7a77463edc1377f1f82d157

Contents?: true

Size: 219 Bytes

Versions: 18

Compression:

Stored size: 219 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

18 entries across 18 versions & 1 rubygems

Version Path
ezid-client-1.10.0 lib/ezid/responses/login_response.rb
ezid-client-1.9.4 lib/ezid/responses/login_response.rb
ezid-client-1.9.3 lib/ezid/responses/login_response.rb
ezid-client-1.9.2 lib/ezid/responses/login_response.rb
ezid-client-1.9.1 lib/ezid/responses/login_response.rb
ezid-client-1.9.0 lib/ezid/responses/login_response.rb
ezid-client-1.9.0.rc1 lib/ezid/responses/login_response.rb
ezid-client-1.8.0 lib/ezid/responses/login_response.rb
ezid-client-1.7.1 lib/ezid/responses/login_response.rb
ezid-client-1.7.0 lib/ezid/responses/login_response.rb
ezid-client-1.6.0 lib/ezid/responses/login_response.rb
ezid-client-1.5.0 lib/ezid/responses/login_response.rb
ezid-client-1.4.3 lib/ezid/responses/login_response.rb
ezid-client-1.4.2 lib/ezid/responses/login_response.rb
ezid-client-1.4.1 lib/ezid/responses/login_response.rb
ezid-client-1.4.0 lib/ezid/responses/login_response.rb
ezid-client-1.3.0 lib/ezid/responses/login_response.rb
ezid-client-1.2.0 lib/ezid/responses/login_response.rb