afterbanks-api-ruby 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -0
- data/lib/afterbanks/resources/account.rb +4 -1
- data/lib/afterbanks/resources/transaction.rb +4 -1
- data/lib/afterbanks/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: deec108108e768c7993bf759a8e0df6c57eb94529f6c93bbda678461bd1c0863
|
|
4
|
+
data.tar.gz: 4281f81669feba2e4b749ee02b822afcb0cbd125a896e7a574e207d4b33092a1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 40cc15bbbd22ec6c57a92bece54a52777ce391227f549d98a0f45177c59a947ae51e2cc1940281af2630ac6b0e40885cf3399e2aadea16b7a460f969553a3a7e
|
|
7
|
+
data.tar.gz: c022046a984dacb63dcb8932862d371d841a65a66ed5591da1b3dda89e81086cccbbc458fa7005979d1679c9523e745a29833c63dda9b554d8d87df3e92dec47
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -33,6 +33,7 @@ You can set a `logger` as well.
|
|
|
33
33
|
Changelog
|
|
34
34
|
---------
|
|
35
35
|
|
|
36
|
+
* v.0.3.3 Transaction and Account are compatible with account ID
|
|
36
37
|
* v.0.3.2 Properly handle account ID needed errors
|
|
37
38
|
* v.0.3.1 Small spec improvements
|
|
38
39
|
* v.0.3.0 Set a higher timeout so it works properly with ING Direct
|
|
@@ -11,7 +11,8 @@ module Afterbanks
|
|
|
11
11
|
holders: :hash
|
|
12
12
|
|
|
13
13
|
def self.list(service:, username:, password:, password2: nil,
|
|
14
|
-
document_type: nil,
|
|
14
|
+
document_type: nil, account_id: nil,
|
|
15
|
+
session_id: nil, otp: nil, counter_id: nil,
|
|
15
16
|
avoid_caching: false)
|
|
16
17
|
|
|
17
18
|
params = {
|
|
@@ -24,6 +25,8 @@ module Afterbanks
|
|
|
24
25
|
|
|
25
26
|
params.merge!(pass2: password2) unless password2.nil?
|
|
26
27
|
params.merge!(documentType: document_type) unless document_type.nil?
|
|
28
|
+
params.merge!(account_id: account_id) unless account_id.nil?
|
|
29
|
+
|
|
27
30
|
params.merge!(session_id: session_id) unless session_id.nil?
|
|
28
31
|
params.merge!(OTP: otp) unless otp.nil?
|
|
29
32
|
params.merge!(counterId: counter_id) unless counter_id.nil?
|
|
@@ -11,7 +11,8 @@ module Afterbanks
|
|
|
11
11
|
categoryId: :integer
|
|
12
12
|
|
|
13
13
|
def self.list(service:, username:, password:, password2: nil,
|
|
14
|
-
document_type: nil,
|
|
14
|
+
document_type: nil, account_id: nil,
|
|
15
|
+
products:, startdate:,
|
|
15
16
|
session_id: nil, otp: nil, counter_id: nil)
|
|
16
17
|
|
|
17
18
|
params = {
|
|
@@ -25,6 +26,8 @@ module Afterbanks
|
|
|
25
26
|
|
|
26
27
|
params.merge!(pass2: password2) unless password2.nil?
|
|
27
28
|
params.merge!(documentType: document_type) unless document_type.nil?
|
|
29
|
+
params.merge!(account_id: account_id) unless account_id.nil?
|
|
30
|
+
|
|
28
31
|
params.merge!(session_id: session_id) unless session_id.nil?
|
|
29
32
|
params.merge!(OTP: otp) unless otp.nil?
|
|
30
33
|
params.merge!(counterId: counter_id) unless counter_id.nil?
|
data/lib/afterbanks/version.rb
CHANGED