lib/authpds-nyu/session/aleph.rb in authpds-nyu-0.2.10 vs lib/authpds-nyu/session/aleph.rb in authpds-nyu-0.2.11
- old
+ new
@@ -15,10 +15,10 @@
raise ArgumentError.new("Argument Error in #{self.class}. bor_id not specified.") if bor_id.nil?;
raise ArgumentError.new("Argument Error in #{self.class}. verification not specified.") if verification.nil?;
adm = aleph_default_adm if adm.nil?
sublibrary = aleph_default_sublibrary if sublibrary.nil?
# Call X-Service
- bor_auth = Exlibris::Aleph::BorAuth.new(aleph_url, adm, sublibrary, "N", bor_id, verification)
+ bor_auth = Exlibris::Aleph::Xservice::BorAuth.new(aleph_url, adm, sublibrary, "N", bor_id, verification)
log_error(bor_id, bor_auth) and return nil if bor_auth.nil? or bor_auth.error
return bor_auth
end
def log_error bor_id, bor_auth
\ No newline at end of file