api_six_client 1.4.5 → 1.4.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -2
- data/lib/api_six_client/base.rb +4 -4
- data/lib/api_six_client/version.rb +1 -1
- data/lib/api_six_client.rb +4 -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: f356f941ae882e2a2e439c7ed01b3ba54c1bd8654543b7752445b8ae5fb43615
|
4
|
+
data.tar.gz: 46b2f9b63cf9f0e4457d5fb6f1b3ffe172321f93965a34309742c21f3b87f2f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86260da81f7745cc92f2a5975f2c6dcb695ce1e00ff3685170e550fc053d624a3bbf1a1484322d0edcfd1ee5435137f2f9312262b6494f73b67df9d4d5992018
|
7
|
+
data.tar.gz: 16e2abd5b61c7eda9269f9f3513a3cb4ad2646fd727ca7c2bd2a2a90f1c8c892e2c2dca005d5b8c2af17b2e8f87a4d39773a2af71d16f1cb6c40f0454574549d
|
data/Gemfile.lock
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
api_six_client (1.4.
|
4
|
+
api_six_client (1.4.8)
|
5
5
|
faraday (~> 2)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
|
10
|
+
base64 (0.1.1)
|
11
|
+
faraday (2.7.11)
|
12
|
+
base64
|
11
13
|
faraday-net_http (>= 2.0, < 3.1)
|
12
14
|
ruby2_keywords (>= 0.0.4)
|
13
15
|
faraday-net_http (3.0.2)
|
data/lib/api_six_client/base.rb
CHANGED
@@ -7,10 +7,10 @@ module ApiSixClient
|
|
7
7
|
class Base
|
8
8
|
attr_reader :endpoint
|
9
9
|
|
10
|
-
def initialize(endpoint: nil, auth_token: nil, debug_mode: false)
|
10
|
+
def initialize(endpoint: nil, auth_token: nil, debug_mode: false, dm: false)
|
11
11
|
@endpoint = endpoint
|
12
12
|
@auth_token = auth_token
|
13
|
-
@debug_mode = debug_mode
|
13
|
+
@debug_mode = debug_mode || dm
|
14
14
|
|
15
15
|
override_defaults
|
16
16
|
validate_config!
|
@@ -39,8 +39,8 @@ module ApiSixClient
|
|
39
39
|
protected
|
40
40
|
|
41
41
|
def override_defaults
|
42
|
-
@endpoint ||= ApiSixClient.config.
|
43
|
-
@auth_token ||= ApiSixClient.config.
|
42
|
+
@endpoint ||= ApiSixClient.config.endpoint
|
43
|
+
@auth_token ||= ApiSixClient.config.auth_token
|
44
44
|
end
|
45
45
|
|
46
46
|
private
|
data/lib/api_six_client.rb
CHANGED
@@ -31,12 +31,15 @@ module ApiSixClient
|
|
31
31
|
class Uas < BaseV2; end
|
32
32
|
|
33
33
|
class OlcInt < BaseInt; end
|
34
|
-
class BrgInt < BaseInt; end
|
35
34
|
class PrjInt < BaseInt; end
|
36
35
|
|
37
36
|
class AuthInt < BaseV2Int; end
|
38
37
|
class UasInt < BaseV2Int; end
|
39
38
|
class NtfInt < BaseV2Int; end
|
39
|
+
class MatInt < BaseV2Int; end
|
40
|
+
class FinnInt < BaseV2Int; end
|
41
|
+
class LyrInt < BaseV2Int; end
|
42
|
+
class BrgInt < BaseV2Int; end
|
40
43
|
end
|
41
44
|
|
42
45
|
A6C = ApiSixClient
|
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.8
|
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
|
+
date: 2023-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|