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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 64f7db237aecfa203edea95c6a15c03db472cb4b113c948457138a7d8abd8c83
4
- data.tar.gz: a751e480deee0ebe682761afa1eb66e2ccbc51ef8e27bc661da7783ff236cdc6
3
+ metadata.gz: deec108108e768c7993bf759a8e0df6c57eb94529f6c93bbda678461bd1c0863
4
+ data.tar.gz: 4281f81669feba2e4b749ee02b822afcb0cbd125a896e7a574e207d4b33092a1
5
5
  SHA512:
6
- metadata.gz: cf540c7bf67e83e88bbeb354dbed7b7aa6d4bd76ab6676fa77845148449d23f4eb06c97a871cd2278e11f1ad9a6ffb901bbcbf24d063f703241ccae518250b81
7
- data.tar.gz: '093573e3cdf8151d8dbcb2511d4b0c25df44f1264db7e2e6d5242ff813042be58c827c97ada925cdcc8b2ffb857fc0ad8305433c4dc951653549aeb3eb3be4c9'
6
+ metadata.gz: 40cc15bbbd22ec6c57a92bece54a52777ce391227f549d98a0f45177c59a947ae51e2cc1940281af2630ac6b0e40885cf3399e2aadea16b7a460f969553a3a7e
7
+ data.tar.gz: c022046a984dacb63dcb8932862d371d841a65a66ed5591da1b3dda89e81086cccbbc458fa7005979d1679c9523e745a29833c63dda9b554d8d87df3e92dec47
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- afterbanks-api-ruby (0.3.2)
4
+ afterbanks-api-ruby (0.3.3)
5
5
  rest-client (~> 2.0.2)
6
6
 
7
7
  GEM
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, session_id: nil, otp: nil, counter_id: 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, products:, startdate:,
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?
@@ -1,3 +1,3 @@
1
1
  module Afterbanks
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: afterbanks-api-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Albert Bellonch