Afip 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/Afip/auth_data.rb +1 -1
- data/lib/Afip/ctg.rb +1 -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: 62e5f910e1de8fd328fc454d4c5b18b7033e00e9
|
4
|
+
data.tar.gz: 9a5c2a1ad6bd7c43fa2c110bfbbcff2794b27ea0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6069b04d25a9aa7998b13f52ecb002b21cb5483086c35b529b1eee3c72ec27aa84fc501263abfa8a43ad0eb2f49e4eda68ab67c08e545a97e850beba9204545
|
7
|
+
data.tar.gz: e068f95ee075a26d6e5ef21bae80bb23cc2f7d7fb75bfef9515f372c720ef99b7748a15935f4a352acb02a4df852c10080b33ef3fa7d2ac5b0fe153a7ff5399b
|
data/Gemfile.lock
CHANGED
data/lib/Afip/auth_data.rb
CHANGED
@@ -33,7 +33,7 @@ module Afip
|
|
33
33
|
# Returns the authorization hash, containing the Token, Signature and Cuit
|
34
34
|
# @return [Hash]
|
35
35
|
#
|
36
|
-
def auth_hash
|
36
|
+
def auth_hash(service = "wsfe")
|
37
37
|
fetch unless Afip.constants.include?(:TOKEN) && Afip.constants.include?(:SIGN)
|
38
38
|
case service
|
39
39
|
when "wsfe"
|
data/lib/Afip/ctg.rb
CHANGED
data/lib/Afip/version.rb
CHANGED