Afip 0.7.9 → 0.8.0
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/Afip/bill.rb +2 -2
- data/lib/Afip/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: 2555abe763e43e75cb4613c4ab4206c45d460f3256942be500916d274158270b
|
4
|
+
data.tar.gz: 695dd7dbc3a299cf4b3af49d3f508fdb1faf09975218d2a4eceabc1fc635514e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba6602d0ee369e534aae396684e01cbfe4cbb2241c8eafb6e1d4f7c9e8c59638c84ac304eac9aade57a3f700bbd9cc2e3805c7a27f2f846f03724dec44d4af0d
|
7
|
+
data.tar.gz: 9fbff79f68204297bc04953e6ef0862ed6582194c3c0525de1b145ab37eadd1f9cfe47380c8f3b509f534a2cac79c5a92617a419f097d60ac0f386c2879db9ff
|
data/Gemfile.lock
CHANGED
data/lib/Afip/bill.rb
CHANGED
@@ -25,13 +25,13 @@ module Afip
|
|
25
25
|
body = { "Auth" => Afip.auth_hash }
|
26
26
|
response = client.call(:fe_param_get_ptos_venta, message: body)
|
27
27
|
if response.body[:fe_param_get_ptos_venta_response][:fe_param_get_ptos_venta_result][:errors].nil?
|
28
|
-
[]
|
29
|
-
else
|
30
28
|
if response.body[:fe_param_get_ptos_venta_response][:fe_param_get_ptos_venta_result][:result_get][:pto_venta].is_a?(Hash)
|
31
29
|
response.body[:fe_param_get_ptos_venta_response][:fe_param_get_ptos_venta_result][:result_get][:pto_venta][:nro]
|
32
30
|
else
|
33
31
|
response.body[:fe_param_get_ptos_venta_response][:fe_param_get_ptos_venta_result][:result_get][:pto_venta].map{|r| r[:nro]}
|
34
32
|
end
|
33
|
+
else
|
34
|
+
[]
|
35
35
|
end
|
36
36
|
end
|
37
37
|
|
data/lib/Afip/version.rb
CHANGED