Afip 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/Afip/ctg.rb +1 -1
- data/lib/Afip/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d29a70815effaf8cb565d1dfb3d30d5c2288b9c5
|
4
|
+
data.tar.gz: '091bc1a8da4ace83486b605322bc824778a655d5'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6e9cbbc19cb01197465c67d913706f5fb1f6c58b28f0cf66912db9c1eee199e82d12ea467237f6e4a1d14ffc932d79de7443e823774a0c79c61afd810fcaeaf
|
7
|
+
data.tar.gz: 504d099c51abfcc092310846e96166a833b48986babd42ee782a74e12c661911ec78b44cc1ebd5d98cd8a382cabd5771f67ff83e30b0f03365fe2e73d5598159
|
data/lib/Afip/ctg.rb
CHANGED
@@ -211,7 +211,7 @@ module Afip
|
|
211
211
|
body["request"]["codigoProvincia"] = city
|
212
212
|
response = client.call(:consultar_localidades_por_provincia, message: body)
|
213
213
|
if response.body[:consultar_localidades_por_provincia_response][:response][:array_localidades][:localidad].class.name != "Array"
|
214
|
-
|
214
|
+
response.body[:consultar_localidades_por_provincia_response][:response][:array_localidades][:localidad].map{|c,d| [c,d]}
|
215
215
|
else
|
216
216
|
response.body[:consultar_localidades_por_provincia_response][:response][:array_localidades][:localidad].map{|c| [c[:codigo],c[:descripcion]]}
|
217
217
|
end
|
data/lib/Afip/version.rb
CHANGED