Sha256: d043319e2a25a22d4a961bef2d53b61f7ef98ea57da6896dfe8e25154806cd31

Contents?: true

Size: 371 Bytes

Versions: 4

Compression:

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

4 entries across 4 versions & 1 rubygems

Version Path
authpds-1.1.2 lib/authpds/session/pds_user.rb
authpds-1.1.1 lib/authpds/session/pds_user.rb
authpds-1.1.0 lib/authpds/session/pds_user.rb
authpds-1.0.0 lib/authpds/session/pds_user.rb