Sha256: c1e380fd67d763a75239b19784ec3bb9cd703eb670bf58d5d5a6bff46a512f47

Contents?: true

Size: 372 Bytes

Versions: 3

Compression:

Stored size: 372 Bytes

Contents

module Authpds
  module Session
    module PdsUser
      def pds_user
        @pds_user ||= Authpds::Exlibris::Pds::BorInfo.new(pds_url,
          calling_system, pds_handle) unless pds_handle.nil?
        return @pds_user unless @pds_user.nil? or @pds_user.error
      rescue Exception => e
        handle_login_exception e
        return nil
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
authpds-1.1.5 lib/authpds/session/pds_user.rb
authpds-1.1.4 lib/authpds/session/pds_user.rb
authpds-1.1.3 lib/authpds/session/pds_user.rb