Afip 0.7.7 → 0.7.8

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: 287f91fb57449b3487d05f2bdc6eda030af0cc695e19b95c82479e86a0ff5f33
4
- data.tar.gz: '082fbb203ce08feb305d92718d23ae9f5dd8cd0819be520c634ec7cdccdb569e'
3
+ metadata.gz: 3a5dcdc68679f5a628a858c488b6a2b0ab6d7dab5ee81a9af058911ba811c46c
4
+ data.tar.gz: 1cbed31b430eaddcdfbea16513e4c181bc94e314aa99a701114991e13aa37bfd
5
5
  SHA512:
6
- metadata.gz: aa27660eae5476d7bff3107f9002f8fc5842ff11f101bdf4e2795bf7265f9d36571b3aefcbdffa436feb59daa13ccbc6143e57ddba3d14dadc79dca65e906ecc
7
- data.tar.gz: 2c6b5536e55fbdb8982d80b8795c6f5e3183131943bbeef29c3753a4c00dfd62f2cfc022585a954c97d27dcb0291934fbe7e262b3b66e4d7ee82afb02b2d830a
6
+ metadata.gz: 76c2c48f5815a881c88c3a93cae59ea55591207d864fdd2a8cccf190ba6b44fdecf31b0229a164548f58232e51b5e6d146df819422bdfbf7dbff2b445ff84a2e
7
+ data.tar.gz: edd7284e172e7e435e0e8071085ceb7d31014c95c09304764554b112bde73c4f2d11215926ac0b0e0943dc37134b93a201be4409212bacef37e31e3765d432e3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- Afip (0.7.6)
4
+ Afip (0.7.7)
5
5
  httpi
6
6
  savon
7
7
 
data/lib/Afip/bill.rb CHANGED
@@ -24,7 +24,7 @@ module Afip
24
24
  client = set_client
25
25
  body = { "Auth" => Afip.auth_hash }
26
26
  response = client.call(:fe_param_get_ptos_venta, message: body)
27
- if response.body[:fe_param_get_ptos_venta_response][:fe_param_get_ptos_venta_result][:errors].any?
27
+ if response.body[:fe_param_get_ptos_venta_response][:fe_param_get_ptos_venta_result][:errors].bill?
28
28
  []
29
29
  else
30
30
  if response.body[:fe_param_get_ptos_venta_response][:fe_param_get_ptos_venta_result][:result_get][:pto_venta].is_a?(Hash)
data/lib/Afip/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Afip
2
- VERSION = "0.7.7"
2
+ VERSION = "0.7.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Afip
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.7
4
+ version: 0.7.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Facundo A. Díaz Martínez