supai 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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/supai/authorization.rb +1 -2
- data/lib/supai/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3bf2a373f6e377cf1352064f5c697e84f31dd51285651d8c6bfeb092c8e3b1c
|
4
|
+
data.tar.gz: 5eadd483116c42eb33311233c7f04570a561e72a015076dd68707fcb93ff1372
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31d71bc22b83eba9d4d22e451f75ea07afa997de735db9d04165b04dd6bfff718c535f6352f867b51696fc7377f194b56013871715dbfbbe8b9613399ec7f3c5
|
7
|
+
data.tar.gz: 3dfcd6138ec86ff46f1c9a0f051d5d5979af6a2c0a0307477bcb155b2e07916eb94f15146fb0895bbc4d1979f1aa6bed74866b119db294c0174303deac97bbd2
|
data/Gemfile.lock
CHANGED
data/lib/supai/authorization.rb
CHANGED
@@ -16,9 +16,8 @@ module Supai
|
|
16
16
|
set_attributes(hash)
|
17
17
|
end
|
18
18
|
|
19
|
-
def authenticate_user(user_name:, password:, chain_id:)
|
19
|
+
def authenticate_user(user_name:, password:, chain_id:, api: API.new)
|
20
20
|
endpoint = "/api/workbenchentry/v7/chains/#{chain_id}/authentication"
|
21
|
-
api = API.new
|
22
21
|
body = {
|
23
22
|
"SessionToken": token,
|
24
23
|
"UserName": user_name,
|
data/lib/supai/version.rb
CHANGED