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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dd36ec4d129e75145e125183cc544adc31692f3dc24d4d03262b232d75e2040e
4
- data.tar.gz: b78b1b6d2e482e2cd6fc4a524dcb4b748ed5014b508eb43ae61d110ac3c17f3f
3
+ metadata.gz: d8e10d7503fb742733e432ca07b4a6b8ad0160d8a4769c6c01f3dee86c785792
4
+ data.tar.gz: b17c9d7b627d362c38ab9b3ee5e75791babf6eadbcd76a182fce829a69287653
5
5
  SHA512:
6
- metadata.gz: 300c27ce6399958c58707ec63b08b3c0228d254a117b619e811a7bc1e7ff879216d703e48b6b1bb22aaec19b90da21c229808e3b4297700783d4d7f450d3a76e
7
- data.tar.gz: 28cafdda86f08a0882c4c4cf15a08fe4be9ce4c65ab33c4bb7cbac8b828c4e66c4a16d47b534e0cc52878d9bee569ebdd37a85b2a313457193dceb4e7c686f6e
6
+ metadata.gz: 103f28b0379d6ea937397b05f1967a71717229311f887fc29b3ca0bedb15b1288e83fb7b6494848f4cb59a67157b075a72be5bacac359760d41a6b6f56cd654c
7
+ data.tar.gz: e8adaf830f4cea0b39bc2e6f87aa6891ce085679b2b03345c321b430b8f7932bb4c9b183d668cc2285426c9979d692f374934e2901c0221065c0bf45d246e68b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- api_six_client (1.3.0)
4
+ api_six_client (1.4.1)
5
5
  faraday (~> 2)
6
6
 
7
7
  GEM
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ApiSixClient
4
- VERSION = "1.3.0"
4
+ VERSION = "1.4.1"
5
5
  end
@@ -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 AuthInt < BaseInt; end
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 UasInt < BaseInt; end
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.3.0
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-07 00:00:00.000000000 Z
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