nomis-api-client 0.0.8 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/generate_bearer_token +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b189250ccb75265b2ea337a3b285f9aa0ac15d1
|
4
|
+
data.tar.gz: 46e3e49ac09d5fcc76198f16a8ddda01cab1ae61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cae9a8f6236c82c52ae8cff6a32036b0ce4f7ba9ddfed8560b3d4463c365983682369cc4223a88b4b707b2030b8acdd720171887eb8da4fcddafc0400ff7376
|
7
|
+
data.tar.gz: b1db9098bc9958fe862e7216ec6a12d49558d020402264bd8c8fd137105934151ffbe476561324c9873304e0936a1b9154bc018a618b98927cfbb85040690abc
|
data/bin/generate_bearer_token
CHANGED
@@ -28,7 +28,7 @@ end
|
|
28
28
|
|
29
29
|
raise usage unless ARGV.size == 2
|
30
30
|
|
31
|
-
token = NOMIS::API::AuthToken.new(client_token_file:
|
31
|
+
token = NOMIS::API::AuthToken.new(client_token_file: ARGV[0], client_key_file: ARGV[1]).bearer_token
|
32
32
|
puts token
|
33
33
|
|
34
34
|
|