api_banking 0.1.29 → 0.1.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/api_banking/environment/rbl/env.rb +13 -0
- data/lib/api_banking/environment/rbl/prd.pem +117 -0
- data/lib/api_banking/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1c84af30cf15aa8aaf729b27d8528f3a7565dda
|
4
|
+
data.tar.gz: 483604578b3a1b6d7da92b243c7cbac4397c670d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19cecc7afee70d64452662203bba4e7af3d096bbc95dbb7191011f1fd542ff73967919c4e15ecd5fefe5411cb19781f4a5e19c41cf9d31a836bc936de09956e4
|
7
|
+
data.tar.gz: eebd7fa0930ac1d30fb45b7281a7c1b232f721ff2c39a35e8434082d94a1df94646191c9339ec18bef4b2fa9f758742fded9e30160542d4962e66d07600a5b18
|
@@ -13,6 +13,19 @@ module ApiBanking
|
|
13
13
|
}
|
14
14
|
end
|
15
15
|
end
|
16
|
+
|
17
|
+
PROD = Struct.new(:user, :password, :client_id, :client_secret, :ssl_client_cert, :ssl_client_key, :ssl_ca_file, :endpoints) do
|
18
|
+
def initialize(*)
|
19
|
+
super
|
20
|
+
self.ssl_ca_file ||= File.expand_path('./prd.pem', File.dirname(__FILE__))
|
21
|
+
self.endpoints = {
|
22
|
+
SinglePayment: 'https://gateway.rblbank.com/prod/sb/rbl/v1/payments/corp/payment',
|
23
|
+
AccountStatement: 'https://gateway.rblbank.com/prod/sb/rbl/v1/cas/statement',
|
24
|
+
GetAccountBalance: 'https://gateway.rblbank.com/prod/sb/rbl/v1/accounts/balance/query',
|
25
|
+
GetPaymentStatus: 'https://gateway.rblbank.com/prod/sb/rbl/v1/payments/corp/payment/query'
|
26
|
+
}
|
27
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0MlqBDzIwMjYxMTI3MjA1MzQyWjAfBgNVHSMEGDAWgBRo
|
109
|
+
kORnpKZTgMeGZqTx90tD+4S9bTAdBgNVHQ4EFgQUaJDkZ6SmU4DHhmak8fdLQ/uE
|
110
|
+
vW0wHQYJKoZIhvZ9B0EABBAwDhsIVjcuMTo0LjADAgSQMA0GCSqGSIb3DQEBBQUA
|
111
|
+
A4IBAQCT1DCw1wMgKtD5Y+iRDAUgqV8ZyntyTtSx29CW+1RaGSwMCPeyvIWonX9t
|
112
|
+
O1KzKtvn1ISMY/YPyyYBkVBs9F8U4pN0wBOeMDpQ47RgxRzwIkSNcUesyBrJ6Zua
|
113
|
+
AGAT/3B+XxFNSRuzFVJ7yVTav52Vr2ua2J7p8eRDjeIRRDq/r72DQnNSi6q7pynP
|
114
|
+
9WQcCk3RvKqsnyrQ/39/2n3qse0wJcGE2jTSW3iDVuycNsMm4hH2Z0kdkquM++v/
|
115
|
+
eu6FSqdQgPCnXEqULl8FmTxSQeDNtGPPAUO6nIPcj2A781q0tHuu2guQOHXvgR1m
|
116
|
+
0vdXcDazv/wor3ElhVsT/h5/WrQ8
|
117
|
+
-----END CERTIFICATE-----
|
data/lib/api_banking/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: api_banking
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.30
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- akil
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -144,6 +144,7 @@ files:
|
|
144
144
|
- lib/api_banking/environment/local/env.rb
|
145
145
|
- lib/api_banking/environment/qg/env.rb
|
146
146
|
- lib/api_banking/environment/rbl/env.rb
|
147
|
+
- lib/api_banking/environment/rbl/prd.pem
|
147
148
|
- lib/api_banking/environment/rbl/uat.pem
|
148
149
|
- lib/api_banking/environment/ybl/env.rb
|
149
150
|
- lib/api_banking/environment/ybl/prd.pem
|