Afip 0.2.9 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/Afip/padron.rb +3 -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: f9fd778212cac143ee5116b6a8009b4abb2c123c
|
4
|
+
data.tar.gz: 140b793ea872190b34606f582d61675628a8cdb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a4164e0f17946168f0bd1d2387d3b365f0a36fa8a1053a839c16be4d0c499aa6115b93926303f2c0ea99ae2b0fd3eeb7937b7ea49eb7637efb62b35c230d144
|
7
|
+
data.tar.gz: 1bb6d2e823c08547f9d13f5d65099b4c2988a5ac65e660f373b7ee1a5849bee91bf38a7dcaf13d6c120e63cd524d24979d971cd72d5a06b2f26e69e9b7765796
|
data/lib/Afip/padron.rb
CHANGED
@@ -40,13 +40,15 @@ module Afip
|
|
40
40
|
rescue Savon::SOAPFault => error
|
41
41
|
if !error.blank?
|
42
42
|
pp @fault_code = error.to_hash[:fault][:faultstring]
|
43
|
+
else
|
44
|
+
@fault_code = nil
|
43
45
|
end
|
44
46
|
return response
|
45
47
|
end
|
46
48
|
|
47
49
|
def get_data
|
48
50
|
@data = get_persona
|
49
|
-
if not fault_code
|
51
|
+
if not fault_code.nil?
|
50
52
|
set_data
|
51
53
|
else
|
52
54
|
return nil
|
data/lib/Afip/version.rb
CHANGED