belvo 0.13.0 → 0.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/belvo/options.rb +3 -1
- data/lib/belvo/resources.rb +4 -4
- data/lib/belvo/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: 426490295ec3ff52627ef0cc1e70a27c418837827947da27e416ccadaa7214ee
|
4
|
+
data.tar.gz: 92630f9d7c9a72dc57d7c1677edb1f1f90bde1442ed787ab5a375d5d8b6871e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58500920831162b704712f0d44e949a3502c0dafe0cd58eb080522c15302a28ec1b2761d2d72058ca1f5e3777da5f75bd629001d72ed70b7a682b65c2037c18f
|
7
|
+
data.tar.gz: ff5c028732ffce74c00630c7e2bb22f38eb3a7e602ecb55b31578ee4eba975e341f5be29d45174575dbd37884304281f73ef9cdc55aed8aa3085aadea31fc7cd
|
data/Gemfile.lock
CHANGED
data/lib/belvo/options.rb
CHANGED
data/lib/belvo/resources.rb
CHANGED
@@ -402,8 +402,8 @@ module Belvo
|
|
402
402
|
|
403
403
|
# Retrieve tax returns information from a specific fiscal link.
|
404
404
|
# @param link [String] Link UUID
|
405
|
-
# @param year_from [Integer]
|
406
|
-
# @param year_to [Integer]
|
405
|
+
# @param year_from [Integer]
|
406
|
+
# @param year_to [Integer]
|
407
407
|
# @param options [TaxReturnOptions] Configurable properties
|
408
408
|
# @return [Hash] created tax returns details
|
409
409
|
# @raise [RequestError] If response code is different than 2XX
|
@@ -418,8 +418,8 @@ module Belvo
|
|
418
418
|
type: options.type
|
419
419
|
}.merge(options)
|
420
420
|
if options.type == TaxReturnType::MONTHLY
|
421
|
-
body[:date_from] =
|
422
|
-
body[:date_to] =
|
421
|
+
body[:date_from] = options.date_from
|
422
|
+
body[:date_to] = options.date_to
|
423
423
|
else
|
424
424
|
body[:year_from] = year_from
|
425
425
|
body[:year_to] = year_to
|
data/lib/belvo/version.rb
CHANGED