Afip 0.4.3 → 0.4.5
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/ctg.rb +2 -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: 74ba613e813d6f11f44c258cf600ff3ca8c3c0c3
|
4
|
+
data.tar.gz: 444d8c428ef100fd528d7178401c1eb981927d6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f7c4d1e9150c941a296140da41fdc16e2e0600795354349cbf608dc325b55a62556df055e63a3100f32be8377bdf0a9958579b86e6f2e5318c26fa3ac076f95
|
7
|
+
data.tar.gz: 68e17e06d5be0ec6494e9bd725ff412192c68c1ff64b02d907178721d360e2e8f6abd3ebd0b496a8849b1e84d4e4eda305fbbaaaf80011cc29b1cc65cb6e2e77
|
data/Gemfile.lock
CHANGED
data/lib/Afip/ctg.rb
CHANGED
@@ -207,7 +207,8 @@ module Afip
|
|
207
207
|
response.body[:consultar_provincia_response][:response][:array_provincias][:provincia].map{|c| [c[:codigo],c[:descripcion]]}
|
208
208
|
end
|
209
209
|
|
210
|
-
def consultar_localidades
|
210
|
+
def consultar_localidades(city)
|
211
|
+
body["request"]["codigoProvincia"] = city
|
211
212
|
response = client.call(:consultar_localidades_por_provincia, message: body)
|
212
213
|
response.body[:consultar_localidades_por_provincia_response][:response][:array_localidades][:localidad].map{|c| [c[:codigo],c[:descripcion]]}
|
213
214
|
end
|
data/lib/Afip/version.rb
CHANGED