api_six_client 1.3.0 → 1.4.1
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_v2_int.rb +13 -0
- data/lib/api_six_client/version.rb +1 -1
- data/lib/api_six_client.rb +10 -8
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8e10d7503fb742733e432ca07b4a6b8ad0160d8a4769c6c01f3dee86c785792
|
4
|
+
data.tar.gz: b17c9d7b627d362c38ab9b3ee5e75791babf6eadbcd76a182fce829a69287653
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 103f28b0379d6ea937397b05f1967a71717229311f887fc29b3ca0bedb15b1288e83fb7b6494848f4cb59a67157b075a72be5bacac359760d41a6b6f56cd654c
|
7
|
+
data.tar.gz: e8adaf830f4cea0b39bc2e6f87aa6891ce085679b2b03345c321b430b8f7932bb4c9b183d668cc2285426c9979d692f374934e2901c0221065c0bf45d246e68b
|
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 Eno < Base; end
|
31
|
-
class Uas < Base; end
|
32
26
|
|
33
|
-
class
|
27
|
+
class Kms < BaseV2; end
|
28
|
+
class Lyr < BaseV2; end
|
29
|
+
class Eno < BaseV2; end
|
30
|
+
class Uas < BaseV2; end
|
31
|
+
|
34
32
|
class OlcInt < BaseInt; end
|
35
|
-
class
|
33
|
+
class BrgInt < BaseInt; end
|
34
|
+
class PrjInt < BaseInt; end
|
35
|
+
|
36
|
+
class AuthInt < BaseV2Int; end
|
37
|
+
class UasInt < BaseV2Int; end
|
36
38
|
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
|
+
version: 1.4.1
|
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-06-
|
11
|
+
date: 2023-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -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
|