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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d8c4287e20ae9a7bcd3f0d1ed1ab4e091b741508
4
- data.tar.gz: 31b4f79b711d177615fa9f876872230c6f09b379
3
+ metadata.gz: 1666abf2263b1165edaf1b1c3d8cc80abd5d48c7
4
+ data.tar.gz: 556e1f27874d803e46b35345d928c4830db91b50
5
5
  SHA512:
6
- metadata.gz: 4b8cc1d0f23bc9f19a4bcbaabcf4844a63f8d4bfd3ee9d30d7d63375b6ed0becb57274524b6c5b0134872f508daf35540839c71e14335bfb98133016cb3c32de
7
- data.tar.gz: 0114f55692522ba208861f66b7c362996935910977f2cc65d0c91b5acd8767cb9603f482c1bcb9131124367628edb604a59c9cb893578d281836f417360b555b
6
+ metadata.gz: e9bcd6fd96c68cb7c17eae61d8ff15f2f82636273641dd6044001400c3b7b302b19af8d24157a04cebc6bdbac21cb85e9b63674305867626f31208ae243ce2fb
7
+ data.tar.gz: c87f37eb9797dbe05b5abcc2f0fdf25b1ec3140941fa95895a651637c285cdd87aafca05f99e314095c79488d38e583648a6478e210ac97a6c6991e7b3e28e8a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- starkit_banking (0.1.17)
4
+ starkit_banking (0.1.19)
5
5
  activerecord (~> 4.2.7)
6
6
  activesupport (~> 4.2.7)
7
7
  api_banking (= 0.1.30)
@@ -21,15 +21,27 @@ module StarkitBanking
21
21
  )
22
22
  end
23
23
  elsif credentials.environment.try(:upcase) == 'PROD'
24
- ::ApiBanking::Environment::YBL::PRD.new(
25
- credentials.decrypt_username,
26
- credentials.password,
27
- credentials.decrypt_client_id,
28
- credentials.decrypt_client_secret,
29
- credentials.client_certificate.path,
30
- credentials.client_private_key.path,
31
- credentials.decrypt_client_private_key_pwd
32
- ) if credentials.bank_name == 'YBL'
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
@@ -1,3 +1,3 @@
1
1
  module StarkitBanking
2
- VERSION = '0.1.18'
2
+ VERSION = '0.1.20'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: starkit_banking
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.18
4
+ version: 0.1.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - akil