belvo 0.3.0 → 0.3.1

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
  SHA256:
3
- metadata.gz: 759f6f987ab53c7befec57c77cdfb6382c828afe83ca304dcfc7ca06f6f816c8
4
- data.tar.gz: 6d600dbc5a78cec15a6008a24004ca333b645fb2b671f3e78deb94ec12a54fa0
3
+ metadata.gz: 50dc56e84a0e3da9460063b4d5589044ad4d88d29f8182ac21d106953e169d55
4
+ data.tar.gz: 50d11079afd1b518d03e30b75d5b1dc5a44e725d7c449cf0036ecc36294a404e
5
5
  SHA512:
6
- metadata.gz: d1bcdaf03338f5044a3197b21c1cbfd1290143833f4062162ca40c9428053a89625ba2e4b8829ca9cde2bc8525d4b9329cb91ad81f7d81a410c68149983df7ca
7
- data.tar.gz: c27cc39ba3bf8c70068254ea9e48dd29dd19850b0f11d411520a512ab3f72b5c1b57b3fb2d67c8717062783c7282a31d86972c8da00fcded05c7fd71530047f6
6
+ metadata.gz: '01414806db87f0512b9c8fe0ff9c611e2e248edb18c24a368173b35b439da0a7fa10b29e25d8e5c86048e4b67936e1d2359b886d94cb2a55ffb558bcc05f1cb0'
7
+ data.tar.gz: 97053b093f9ac116decbad414b859da65de6b3ee2d18a53dfca5bd896db2a302be3c15f8d3c2823d144d7078ab14f92d09775cc16e1249d24e2113c3cf081c42
@@ -0,0 +1,6 @@
1
+ engines:
2
+ rubocop:
3
+ enabled: true
4
+ checks:
5
+ Rubocop/Style/MutableConstant:
6
+ enabled: false
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- belvo (0.3.0)
4
+ belvo (0.3.1)
5
5
  faraday
6
6
  faraday_middleware
7
7
  typhoeus
@@ -23,11 +23,12 @@ module Belvo
23
23
  end
24
24
 
25
25
  # List all results
26
+ # @param params [Hash] Extra parameters sent as query strings.
26
27
  # @return [Array]
27
28
  # @raise [RequestError] If response code is different than 2XX
28
- def list
29
+ def list(params: nil)
29
30
  results = []
30
- @session.list(@endpoint) { |item| results.push item }
31
+ @session.list(@endpoint, params: params) { |item| results.push item }
31
32
  results
32
33
  end
33
34
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Belvo
4
4
  # belvo-ruby current version
5
- VERSION = '0.3.0'
5
+ VERSION = '0.3.1'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: belvo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Belvo Finance S.L.
@@ -146,6 +146,7 @@ executables: []
146
146
  extensions: []
147
147
  extra_rdoc_files: []
148
148
  files:
149
+ - ".codeclimate.yml"
149
150
  - ".github/ISSUE_TEMPLATE/feature_request.md"
150
151
  - ".github/pull_request_template.md"
151
152
  - ".gitignore"