api_six_client 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/api_six_client/base_v2_int.rb +13 -0
- data/lib/api_six_client/version.rb +1 -1
- data/lib/api_six_client.rb +10 -8
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e29c22b37f5f45718d28451acc4b121cbee82ccab46b33afd10d8661c3e8f98f
|
4
|
+
data.tar.gz: 40d0e3cf604dac049944dfbcead979f625023431a4f8c2d93b1f5d294a319426
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c6873c326400959d429b9bef130fce0fb1d15db722ffbf8512f0a7be79e117574962660796fc153a4745c34cee310d3550676f89c625c7b036ce83a82585686
|
7
|
+
data.tar.gz: 7d29214ac8301acabd8b3e097fb019e89de0055dcd9e08e2662cb935b4ace0f644479725deb74cd3a9d8340f6ff982baa859897a94f8ded287d2a6e6c6294478
|
data/Gemfile.lock
CHANGED
@@ -0,0 +1,13 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module ApiSixClient
|
4
|
+
class BaseV2Int < Base
|
5
|
+
def initialize(endpoint: nil, auth_token: nil)
|
6
|
+
@endpoint = ApiSixClient.config.endpoint_v2_int
|
7
|
+
@auth_token = ApiSixClient.config.auth_token_v2_int
|
8
|
+
|
9
|
+
raise Errors::EndpointIsEmpty unless @endpoint
|
10
|
+
raise Errors::AuthTokenIsEmpty unless @auth_token
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
data/lib/api_six_client.rb
CHANGED
@@ -17,20 +17,22 @@ module ApiSixClient
|
|
17
17
|
end
|
18
18
|
|
19
19
|
class Brg < Base; end
|
20
|
-
class Brg_P3 < Base; end
|
21
20
|
class Gbk < Base; end
|
22
|
-
class Kms < Base; end
|
23
|
-
class Lyr < Base; end
|
24
21
|
class Mat < Base; end
|
25
22
|
class Val < Base; end
|
26
23
|
class Prj < Base; end
|
27
|
-
class Prj_P3 < Base; end
|
28
24
|
class Fin < Base; end
|
29
25
|
class Olc < Base; end
|
30
|
-
class
|
31
|
-
class
|
26
|
+
class Brg_P3 < Base; end
|
27
|
+
class Prj_P3 < Base; end
|
28
|
+
|
29
|
+
class Kms < BaseV2; end
|
30
|
+
class Lyr < BaseV2; end
|
31
|
+
class Eno < BaseV2; end
|
32
|
+
class Uas < BaseV2; end
|
32
33
|
|
33
|
-
class AuthInt < BaseInt; end
|
34
34
|
class OlcInt < BaseInt; end
|
35
|
-
|
35
|
+
|
36
|
+
class AuthInt < BaseV2Int; end
|
37
|
+
class UasInt < BaseV2Int; end
|
36
38
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: api_six_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eugene Dobrorodnov
|
@@ -44,6 +44,7 @@ files:
|
|
44
44
|
- lib/api_six_client/base.rb
|
45
45
|
- lib/api_six_client/base_int.rb
|
46
46
|
- lib/api_six_client/base_v2.rb
|
47
|
+
- lib/api_six_client/base_v2_int.rb
|
47
48
|
- lib/api_six_client/config.rb
|
48
49
|
- lib/api_six_client/errors.rb
|
49
50
|
- lib/api_six_client/version.rb
|