Afip 0.4.2 → 0.4.3
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 +5 -0
- 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: de79bdafa2ec3ba9e20a26d435f79486fe368a1e
|
4
|
+
data.tar.gz: 704e99f10b69fc632a5faea821f04b6e4f2a6a62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '093ab7989ba41987f375defb219edc5b433b7cc52f4f4a18dc26a9853b8e973d5b105ec3029c091f2ed08e7357d4b31405e0b50b2c26efcca7189a86a5d0403a'
|
7
|
+
data.tar.gz: cf67422d7d9a3b4abcff4da82f48c76550d9138c15ad7983e26cbbac04285ebd2664b91a65ed8e26a6b2119e09bef73280836ff2e23baae6f003625ad9177ea8
|
data/Gemfile.lock
CHANGED
data/lib/Afip/ctg.rb
CHANGED
@@ -202,6 +202,11 @@ module Afip
|
|
202
202
|
response.body[:consultar_especies_response][:response][:array_establecimientos][:establecimiento].map{|c| [c]}
|
203
203
|
end
|
204
204
|
|
205
|
+
def consultar_provincias
|
206
|
+
response = client.call(:consultar_provincia, message: body)
|
207
|
+
response.body[:consultar_provincia_response][:response][:array_provincias][:provincia].map{|c| [c[:codigo],c[:descripcion]]}
|
208
|
+
end
|
209
|
+
|
205
210
|
def consultar_localidades
|
206
211
|
response = client.call(:consultar_localidades_por_provincia, message: body)
|
207
212
|
response.body[:consultar_localidades_por_provincia_response][:response][:array_localidades][:localidad].map{|c| [c[:codigo],c[:descripcion]]}
|
data/lib/Afip/version.rb
CHANGED