api_banking 0.1.28 → 0.1.29

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: 24ecb89ff177dde647e08124897820e759882e08
4
- data.tar.gz: d60d693dca5ccec346f355a4851ac3dcb39d8d93
3
+ metadata.gz: 67917235f6d74077ade9e5be4664bd219bb35269
4
+ data.tar.gz: 47ecc595d543d84ae9745bb8e68997839a3a2019
5
5
  SHA512:
6
- metadata.gz: 8585e614ab297bc1761d01b29e9ef578dbcdec76dad5dd1e5da5fc52342807b8414a09478950beb9641b302130993796628dd7803f0a515bba82e236f686db42
7
- data.tar.gz: 00286dac549fa1e09c7e3d0ff715f541f2dce95288e9805c0f0fe8ec821a26a9b2382d2c41e30cad58b462514798bd55b9255897dd66e8012461ef818c5a24ac
6
+ metadata.gz: 64a07ddfa7b64fbde305e9455e66161fc2839dbf06f9b6aa120ad90fe9d996537e8c7b910d5c2221a4c91c72caf22dfa338eb256dff9dda5d6b3a8368aa3db0c
7
+ data.tar.gz: ae23308c05d353a562f1b744bde21c6e8b282b568615e334b848f6cd68a05bf8f41bac44fcb2aef9cf72c0edab4ad5b0e948650391edbf68b291b3829a176c5f
data/lib/api_banking.rb CHANGED
@@ -6,6 +6,7 @@ require_relative "api_banking/config"
6
6
  require_relative "api_banking/environment/rbl/env"
7
7
  require_relative "api_banking/environment/ybl/env"
8
8
  require_relative "api_banking/environment/qg/env"
9
+ require_relative "api_banking/environment/local/env"
9
10
 
10
11
  require_relative "api_banking/soap/fault"
11
12
  require_relative "api_banking/soap/callbacks"
@@ -0,0 +1,24 @@
1
+ module ApiBanking
2
+ module Environment
3
+ LOCAL = Struct.new(:host, :port, :protocol, :endpoints) do
4
+ def initialize(*)
5
+ super
6
+ self.port ||= 80
7
+ self.protocol ||= 'http'
8
+
9
+ self.endpoints = {
10
+ FundsTransferByCustomerService: "#{protocol}://#{host}:#{port}/fundsTransferByCustomerServiceHttpService",
11
+ FundsTransferByCustomerService2: "#{protocol}://#{host}:#{port}/fundsTransferByCustomerService2",
12
+ InstantMoneyTransferService: "#{protocol}://#{host}:#{port}/IMTService",
13
+ DomesticRemittanceByPartnerService: "#{protocol}://#{host}:#{port}/DomesticRemittanceByPartnerService",
14
+ NotificationService: "#{protocol}://#{host}:#{port}/NotificationService",
15
+ InstantCreditService: "#{protocol}://#{host}:#{port}/InstantCreditService",
16
+ PrepaidCardManagementService: "#{protocol}://#{host}:#{port}/PrepaidCardManagementService",
17
+ PrepaidCardService: "#{protocol}://#{host}:#{port}/PrepaidCardService",
18
+ SocialBankingService: "#{protocol}://#{host}:#{port}/SocialBankingService",
19
+ VirtualCardManagementService: "#{protocol}://#{host}:#{port}/VirtualCardManagementService"
20
+ }
21
+ end
22
+ end
23
+ end
24
+ end
@@ -6,7 +6,7 @@ module ApiBanking
6
6
  super
7
7
  self.endpoints = {
8
8
  FundsTransferByCustomerService: 'https://api.quantiguous.com/fundsTransferByCustomerServiceHttpService',
9
- FundsTransferByCustomerService2: 'https://api.quantiguous.com/fundsTransferByCustomerService2',
9
+ FundsTransferByCustomerService2: 'http://10.211.55.6:7800/fundsTransferByCustomerService2',#'https://api.quantiguous.com/fundsTransferByCustomerService2',
10
10
  InstantMoneyTransferService: 'https://api.quantiguous.com/IMTService',
11
11
  DomesticRemittanceByPartnerService: 'https://api.quantiguous.com/DomesticRemittanceByPartnerService',
12
12
  NotificationService: 'https://api.quantiguous.com/NotificationService',
@@ -1,3 +1,3 @@
1
1
  module ApiBanking
2
- VERSION = "0.1.28"
2
+ VERSION = "0.1.29"
3
3
  end
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.28
4
+ version: 0.1.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - akil
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-30 00:00:00.000000000 Z
11
+ date: 2017-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -141,6 +141,7 @@ files:
141
141
  - bin/setup
142
142
  - lib/api_banking.rb
143
143
  - lib/api_banking/config.rb
144
+ - lib/api_banking/environment/local/env.rb
144
145
  - lib/api_banking/environment/qg/env.rb
145
146
  - lib/api_banking/environment/rbl/env.rb
146
147
  - lib/api_banking/environment/rbl/uat.pem