Afip 0.7.8 → 0.7.9

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: 3a5dcdc68679f5a628a858c488b6a2b0ab6d7dab5ee81a9af058911ba811c46c
4
- data.tar.gz: 1cbed31b430eaddcdfbea16513e4c181bc94e314aa99a701114991e13aa37bfd
3
+ metadata.gz: 81eb023a8e1c307b7e38a521cf88ed6914698acca42c0ff099898029a71e7719
4
+ data.tar.gz: e80a88056e8898addffd49d67a33ba3abfd18d836cdff117f3f9752757cbf6a5
5
5
  SHA512:
6
- metadata.gz: 76c2c48f5815a881c88c3a93cae59ea55591207d864fdd2a8cccf190ba6b44fdecf31b0229a164548f58232e51b5e6d146df819422bdfbf7dbff2b445ff84a2e
7
- data.tar.gz: edd7284e172e7e435e0e8071085ceb7d31014c95c09304764554b112bde73c4f2d11215926ac0b0e0943dc37134b93a201be4409212bacef37e31e3765d432e3
6
+ metadata.gz: 7b87088a9a70768dc86397ee222c9895c7da177bfd161230ffcdf8e4ac5d1f46a105a00dab127c81c4e8d6db91179fde3c82d052c60318bf7a4dfccaf178311e
7
+ data.tar.gz: 6962c139f0c46efc98cbab81b30a105c283dece4ae0433aef7f02bea8f832b2f0c8dd78feab541674a0ad539872a91a41a7a0d4682cfabe63fd39b13a146cab3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- Afip (0.7.7)
4
+ Afip (0.7.8)
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].bill?
27
+ if response.body[:fe_param_get_ptos_venta_response][:fe_param_get_ptos_venta_result][:errors].nil?
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.8"
2
+ VERSION = "0.7.9"
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.8
4
+ version: 0.7.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Facundo A. Díaz Martínez