api_banking 0.1.26 → 0.1.28

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: 9c043fcea908852b04152e46af601a4ad4032c04
4
- data.tar.gz: e8fc3a605c982cf477347028919677af837d52e8
3
+ metadata.gz: 24ecb89ff177dde647e08124897820e759882e08
4
+ data.tar.gz: d60d693dca5ccec346f355a4851ac3dcb39d8d93
5
5
  SHA512:
6
- metadata.gz: 9736a2b9d48a75f5d506fb52599ad96e3979ee07171e89238f0afc814e8581cf6a80bcea79b156c70fa23983ea7cb0cece6df9c22526d520684f3e4543fe4f17
7
- data.tar.gz: 4055656a806022c6cc76867e851cbd343de9664f5e6b82591b74d0ab9f23a6bf3120ccef857ec915ed486145f7e874d103c8f77df4fd1d8095e660bdf6d146fe
6
+ metadata.gz: 8585e614ab297bc1761d01b29e9ef578dbcdec76dad5dd1e5da5fc52342807b8414a09478950beb9641b302130993796628dd7803f0a515bba82e236f686db42
7
+ data.tar.gz: 00286dac549fa1e09c7e3d0ff715f541f2dce95288e9805c0f0fe8ec821a26a9b2382d2c41e30cad58b462514798bd55b9255897dd66e8012461ef818c5a24ac
@@ -6,7 +6,7 @@ module ApiBanking
6
6
  attr_accessor :request, :result
7
7
 
8
8
  ReqHeader = Struct.new(:tranID, :corpID, :approverID)
9
- Remitter = Struct.new(:accountNo, :accountName)
9
+ Remitter = Struct.new(:accountNo, :accountName, :accountIFSC, :mobileNo)
10
10
  Beneficiary = Struct.new(:accountIFSC, :accountNo, :fullName, :address, :email, :mobileNo)
11
11
  ReqBody = Struct.new(:amount, :remitter, :beneficiary, :modeOfPay, :remarks)
12
12
  Request = Struct.new(:header, :body)
@@ -41,11 +41,14 @@ module ApiBanking
41
41
  dataHash[:Single_Payment_Corp_Req][:Body][:Amount] = request.body.amount
42
42
  dataHash[:Single_Payment_Corp_Req][:Body][:Debit_Acct_No] = request.body.remitter.accountNo
43
43
  dataHash[:Single_Payment_Corp_Req][:Body][:Debit_Acct_Name] = request.body.remitter.accountName
44
+ dataHash[:Single_Payment_Corp_Req][:Body][:Debit_IFSC] = request.body.remitter.accountIFSC
45
+ dataHash[:Single_Payment_Corp_Req][:Body][:Debit_Mobile] = request.body.remitter.mobileNo
44
46
 
45
47
  dataHash[:Single_Payment_Corp_Req][:Body][:Ben_IFSC] = request.body.beneficiary.accountIFSC
46
48
  dataHash[:Single_Payment_Corp_Req][:Body][:Ben_Acct_No] = request.body.beneficiary.accountNo
47
49
  dataHash[:Single_Payment_Corp_Req][:Body][:Ben_Name] = request.body.beneficiary.fullName
48
50
  dataHash[:Single_Payment_Corp_Req][:Body][:Ben_Address] = request.body.beneficiary.address
51
+ dataHash[:Single_Payment_Corp_Req][:Body][:Ben_BankName] = request.body.beneficiary.accountIFSC[0..3]
49
52
  dataHash[:Single_Payment_Corp_Req][:Body][:Ben_Email] = request.body.beneficiary.email
50
53
  dataHash[:Single_Payment_Corp_Req][:Body][:Ben_Mobile] = request.body.beneficiary.mobileNo
51
54
  dataHash[:Single_Payment_Corp_Req][:Body][:Mode_of_Pay] = request.body.modeOfPay
@@ -1,3 +1,3 @@
1
1
  module ApiBanking
2
- VERSION = "0.1.26"
2
+ VERSION = "0.1.28"
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.26
4
+ version: 0.1.28
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-24 00:00:00.000000000 Z
11
+ date: 2017-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler