eezee 1.0.12 → 1.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eezee/errors/request_error.rb +2 -2
- data/lib/eezee/version.rb +1 -1
- metadata +2 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26e0b5f2a8e9d41185e65ccbf53602ab25570deaf81e69283a52e4785b2f5694
|
4
|
+
data.tar.gz: 0c0c693f105197d788972e2465af65995de21a212b1195dbdda47ef4ed4969ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 661361d14056a28f812cc26b49198dc844081aa281570fdaccfd604eb119ec8afe382ffb849a58354029bea607c00ec13a59d2c71fb796c0a8c9ad80d9d496db
|
7
|
+
data.tar.gz: 980bfb3dcda96ecd42b07754c0cb904d4825920a4298cbe975d01ce679d71867ebcf624265c11a158ee025fad5b76bd83237aa5c1536379205e39095cbf86cbb
|
@@ -4,7 +4,7 @@ module Eezee
|
|
4
4
|
class RequestError < Error
|
5
5
|
attr_reader :response
|
6
6
|
|
7
|
-
def initialize(response)
|
7
|
+
def initialize(response = nil)
|
8
8
|
@response = response
|
9
9
|
super(build_message)
|
10
10
|
end
|
@@ -16,7 +16,7 @@ module Eezee
|
|
16
16
|
private
|
17
17
|
|
18
18
|
def build_message
|
19
|
-
"CODE: #{@response
|
19
|
+
"CODE: #{@response&.code} - BODY: #{@response&.body&.to_json}"
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
data/lib/eezee/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eezee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- linqueta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -17,9 +17,6 @@ dependencies:
|
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 0.17.0
|
20
|
-
- - "~>"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '0.17'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,9 +24,6 @@ dependencies:
|
|
27
24
|
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 0.17.0
|
30
|
-
- - "~>"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '0.17'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: bundler
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|