facturapi_ruby 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/facturapi_ruby/http_client.rb +2 -1
- data/lib/facturapi_ruby/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab0caea89362d23d2923e2c672d65ba7e46db5f7cd7074fc0fef9eb770f54c36
|
4
|
+
data.tar.gz: 15060598f91e6b48b395529a4f631900e057394b7f930dad0aa5cab5598f63d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5be6592e81eaa321eef0c1d8f86b3cadcfe4877f36173b40721334b64d9ff0329d6a48eb224b761acf47375095bcdc9db92f010bc8456d7f12ae365bba6a753b
|
7
|
+
data.tar.gz: 35da256d672fda82e32b4d932863848d553dda0da5083885895db697f6170c18c4b32da23fce5b723be16a9a7fe7a89f6007fb97c569258e8018ede5173a32a1
|
@@ -49,7 +49,8 @@ module FacturapiRuby
|
|
49
49
|
http.set_debug_output($stdout)
|
50
50
|
|
51
51
|
response = http.request(request)
|
52
|
-
|
52
|
+
puts response.code
|
53
|
+
if response.code.start_with? '20'
|
53
54
|
JSON.parse(response.body)
|
54
55
|
else
|
55
56
|
raise FacturapiRubyError.new(JSON.parse(response.body))
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: facturapi_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Diego Llamas Velasco
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|