api_six_client 1.4.13 → 1.4.15
Sign up to get free protection for your applications and to get access to all the features.
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)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module ApiSixClient
|
4
|
-
class
|
4
|
+
class BaseHidden < Base
|
5
5
|
protected
|
6
6
|
|
7
7
|
def deprecation_msg
|
@@ -9,7 +9,7 @@ module ApiSixClient
|
|
9
9
|
|
10
10
|
def override_defaults
|
11
11
|
@endpoint = ApiSixClient.config.endpoint_int
|
12
|
-
@auth_token = ApiSixClient.config.
|
12
|
+
@auth_token = ApiSixClient.config.auth_token_hidden
|
13
13
|
end
|
14
14
|
end
|
15
15
|
end
|
data/lib/api_six_client.rb
CHANGED
@@ -5,7 +5,7 @@ require 'api_six_client/config'
|
|
5
5
|
require 'api_six_client/base'
|
6
6
|
require 'api_six_client/base_v2'
|
7
7
|
require 'api_six_client/base_int'
|
8
|
-
require 'api_six_client/
|
8
|
+
require 'api_six_client/base_hidden'
|
9
9
|
require 'api_six_client/base_v2_int'
|
10
10
|
require 'api_six_client/errors'
|
11
11
|
|
@@ -30,8 +30,8 @@ module ApiSixClient
|
|
30
30
|
class Eno < BaseV2; end
|
31
31
|
class Uas < BaseV2; end
|
32
32
|
|
33
|
-
class OlcInt <
|
34
|
-
class AuthInt <
|
33
|
+
class OlcInt < BaseHidden; end
|
34
|
+
class AuthInt < BaseHidden; end
|
35
35
|
|
36
36
|
class PrjInt < BaseInt; end
|
37
37
|
class UasInt < BaseInt; end
|
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
|
@@ -42,7 +42,7 @@ files:
|
|
42
42
|
- bin/setup
|
43
43
|
- lib/api_six_client.rb
|
44
44
|
- lib/api_six_client/base.rb
|
45
|
-
- lib/api_six_client/
|
45
|
+
- lib/api_six_client/base_hidden.rb
|
46
46
|
- lib/api_six_client/base_int.rb
|
47
47
|
- lib/api_six_client/base_v2.rb
|
48
48
|
- lib/api_six_client/base_v2_int.rb
|