lusi_alma_course_loader 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d46b54f34f78dc885448622e320b25686bef2dd
|
4
|
+
data.tar.gz: 02630d1b42db986f91185e52894eee75d55adb0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60be02723fe017351f5cafbea1635ec4bceee7fc2f6bbe01fff2f6217e93f6e7eff713780d76b9d33c79bcfef2fe5cd2b23168280869df1868cacbc36676ae9e
|
7
|
+
data.tar.gz: 3492a500e0bf7004946abe492002f3dc937a2e27584dc5fd065b36c6564068322fee720475ac493a4b9004c83f6c598e06f7a89052897f5d25411b28bca18483
|
data/exe/course_loader
CHANGED
@@ -118,8 +118,9 @@ module LUSIAlmaCourseLoader
|
|
118
118
|
# Creates a LUSI API instance
|
119
119
|
# @return [LUSI::API::Core::API] the LUSI API instance
|
120
120
|
def lusi_api
|
121
|
-
api_password = password || ENV['LUSI_API_PASSWORD']
|
122
|
-
|
121
|
+
api_password = password || ENV['LUSI_API_PASSWORD'] || \
|
122
|
+
ENV['LUSI_WS_PASSWORD']
|
123
|
+
api_user = user || ENV['LUSI_API_USER'] || ENV['LUSI_WS_USER']
|
123
124
|
::LUSI::API::Core::API.new(api_user: api_user,
|
124
125
|
api_password: api_password,
|
125
126
|
logger: logger)
|