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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: de79bdafa2ec3ba9e20a26d435f79486fe368a1e
4
- data.tar.gz: 704e99f10b69fc632a5faea821f04b6e4f2a6a62
3
+ metadata.gz: 74ba613e813d6f11f44c258cf600ff3ca8c3c0c3
4
+ data.tar.gz: 444d8c428ef100fd528d7178401c1eb981927d6b
5
5
  SHA512:
6
- metadata.gz: '093ab7989ba41987f375defb219edc5b433b7cc52f4f4a18dc26a9853b8e973d5b105ec3029c091f2ed08e7357d4b31405e0b50b2c26efcca7189a86a5d0403a'
7
- data.tar.gz: cf67422d7d9a3b4abcff4da82f48c76550d9138c15ad7983e26cbbac04285ebd2664b91a65ed8e26a6b2119e09bef73280836ff2e23baae6f003625ad9177ea8
6
+ metadata.gz: 2f7c4d1e9150c941a296140da41fdc16e2e0600795354349cbf608dc325b55a62556df055e63a3100f32be8377bdf0a9958579b86e6f2e5318c26fa3ac076f95
7
+ data.tar.gz: 68e17e06d5be0ec6494e9bd725ff412192c68c1ff64b02d907178721d360e2e8f6abd3ebd0b496a8849b1e84d4e4eda305fbbaaaf80011cc29b1cc65cb6e2e77
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- Afip (0.4.2)
4
+ Afip (0.4.3)
5
5
  httpi
6
6
  savon
7
7
 
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
@@ -1,3 +1,3 @@
1
1
  module Afip
2
- VERSION = "0.4.3"
2
+ VERSION = "0.4.5"
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.4.3
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Facundo A. Díaz Martínez