starkit_banking 0.1.18 → 0.1.20
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/starkit_banking/api/environment.rb +21 -9
- data/lib/starkit_banking/version.rb +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: 1666abf2263b1165edaf1b1c3d8cc80abd5d48c7
|
4
|
+
data.tar.gz: 556e1f27874d803e46b35345d928c4830db91b50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9bcd6fd96c68cb7c17eae61d8ff15f2f82636273641dd6044001400c3b7b302b19af8d24157a04cebc6bdbac21cb85e9b63674305867626f31208ae243ce2fb
|
7
|
+
data.tar.gz: c87f37eb9797dbe05b5abcc2f0fdf25b1ec3140941fa95895a651637c285cdd87aafca05f99e314095c79488d38e583648a6478e210ac97a6c6991e7b3e28e8a
|
data/Gemfile.lock
CHANGED
@@ -21,15 +21,27 @@ module StarkitBanking
|
|
21
21
|
)
|
22
22
|
end
|
23
23
|
elsif credentials.environment.try(:upcase) == 'PROD'
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
24
|
+
if credentials.bank_name == 'YBL'
|
25
|
+
::ApiBanking::Environment::YBL::PRD.new(
|
26
|
+
credentials.decrypt_username,
|
27
|
+
credentials.password,
|
28
|
+
credentials.decrypt_client_id,
|
29
|
+
credentials.decrypt_client_secret,
|
30
|
+
credentials.client_certificate.path,
|
31
|
+
credentials.client_private_key.path,
|
32
|
+
credentials.decrypt_client_private_key_pwd
|
33
|
+
)
|
34
|
+
else
|
35
|
+
::ApiBanking::Environment::RBL::PRD.new(
|
36
|
+
credentials.decrypt_username,
|
37
|
+
credentials.password,
|
38
|
+
credentials.decrypt_client_id,
|
39
|
+
credentials.decrypt_client_secret,
|
40
|
+
credentials.client_certificate.path,
|
41
|
+
credentials.client_private_key.path,
|
42
|
+
credentials.decrypt_client_private_key_pwd
|
43
|
+
)
|
44
|
+
end
|
33
45
|
end
|
34
46
|
end
|
35
47
|
end
|