api_six_client 1.4.14 → 1.4.15
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/api_six_client/base.rb +5 -1
- data/lib/api_six_client/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: 176633fdcd2899f81314595967660398a580ceffc47f0c77c12652c80df265de
|
4
|
+
data.tar.gz: b08f4742eb10849eb1d4dd91fd5a60f024c09655ba55ccefae0a88b809a0b667
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9c93a41ec555426e41030b4c631d4a704af10bf8c6b8cf57f35e6e2fb0e50933e7085b81b01713d95ed144982988cb87041afcd45fb37c3f1d4ad78ccd3759b
|
7
|
+
data.tar.gz: 5af753a60ded22561480754963134c3cbeeaa10e407c074ed2d7b2f29b79dd018c18db65154b19631533fb63e15e26cdc241e7e3b5e2b23e029105b08f672aee
|
data/Gemfile.lock
CHANGED
data/lib/api_six_client/base.rb
CHANGED
@@ -65,7 +65,11 @@ module ApiSixClient
|
|
65
65
|
begin
|
66
66
|
response = connection.run_request(method, "#{endpoint}/#{service_path}/#{path}", params.to_json, headers)
|
67
67
|
rescue Faraday::Error => e
|
68
|
-
|
68
|
+
if defined?(Rails)
|
69
|
+
Rails.logger.error "Message: #{e.message}, caused by: #{self.class.name}##{path}"
|
70
|
+
end
|
71
|
+
|
72
|
+
raise e
|
69
73
|
end
|
70
74
|
|
71
75
|
res = JSON.parse(response.body)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: api_six_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eugene Dobrorodnov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-11-
|
11
|
+
date: 2023-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|