Afip 0.7.5 → 0.7.6
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/bill.rb +2 -2
- data/lib/Afip/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6dd5e50492a0c7d4670f550d24551c8dbc9420df9b5f5d4592fcc2c28f13b33e
|
4
|
+
data.tar.gz: 49e084ae0ce9314ee85c29491ca3367ecf5d328606b82a7a508fca2947356c43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3629555ca521e22074489fe4b30312c38d8f068957c52b83e787de317751f1cc07416d511c9af322da484258b87ca94e22989f57528683a47c70bd72bbb2f028
|
7
|
+
data.tar.gz: 9669cddb36a59684fdf7f44a0a4c4cd3fc7ee302b335270d90dd3bb4aa2d1c775b333ed25d961cc420e27ff918fccfab6bb624a89296feb986537c345b943b78
|
data/Gemfile.lock
CHANGED
data/lib/Afip/bill.rb
CHANGED
@@ -6,7 +6,7 @@ module Afip
|
|
6
6
|
:ivas, :sale_point
|
7
7
|
|
8
8
|
def initialize(attrs={})
|
9
|
-
set_client
|
9
|
+
Bill.set_client
|
10
10
|
@sale_point = attrs[:sale_point]
|
11
11
|
@body = { "Auth" => Afip.auth_hash }
|
12
12
|
@net = attrs[:net] || 0
|
@@ -35,7 +35,7 @@ module Afip
|
|
35
35
|
end
|
36
36
|
end
|
37
37
|
|
38
|
-
def set_client
|
38
|
+
def self.set_client
|
39
39
|
Afip::AuthData.fetch
|
40
40
|
@client = Savon.client(
|
41
41
|
wsdl: Afip.service_url,
|
data/lib/Afip/version.rb
CHANGED