vgs_api_client 0.0.1.alpha202205231754 → 0.0.1.alpha202205252018
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/api.yaml +0 -12
- data/lib/openapi_client/api_client.rb +1 -1
- data/lib/openapi_client/models/inline_response_default.rb +4 -14
- data/lib/openapi_client/version.rb +1 -1
- data/lib/version.rb +1 -1
- data/scripts/assemble/run.sh +1 -1
- data/scripts/test/run.sh +1 -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: 1450b25eb71084e2ca858bc433bea2e41d6d19ff4e56e84a821ad18c6e77a45c
|
4
|
+
data.tar.gz: e0e143f7d779d165c5c0911221894ac8c57e032b7d51dda32102c5e879358358
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18b3a440ed1a396ae8921840bc0ff6f65ebb1aa9ba979de891dc4c5bfdf88de6838cc3bb33377e8b68300d4f973749e0dfc4b00cc04240bb9a1762b92aaea187
|
7
|
+
data.tar.gz: 644c2bc0602ad95b14568594cd897fc13fd93412c2421c3ab84f0cec0d7aea1930e5a3bb66dbe5240208c2dec3286d44af697f9a3efa070d7be88b738ebf6a4b
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.1.
|
1
|
+
0.0.1.alpha202205252018
|
data/api.yaml
CHANGED
@@ -380,18 +380,6 @@ components:
|
|
380
380
|
$ref: '#/components/schemas/ApiError'
|
381
381
|
description: List of errors that occurred while processing the request.
|
382
382
|
minItems: 1
|
383
|
-
trace_id:
|
384
|
-
type: string
|
385
|
-
description: ID of request. This can be used in the VGS dashboard to lookup a request or provided to the VGS support team.
|
386
|
-
examples:
|
387
|
-
invalidJson:
|
388
|
-
summary: When a payload is received that is not valid JSON
|
389
|
-
value:
|
390
|
-
errors:
|
391
|
-
- status: 400
|
392
|
-
code: invalid-payload
|
393
|
-
detail: Payload is not a valid JSON format.
|
394
|
-
trace_id: 2cdd563c3fcdd9b4
|
395
383
|
|
396
384
|
schemas:
|
397
385
|
ApiError:
|
@@ -31,7 +31,7 @@ module VgsApiClient
|
|
31
31
|
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
32
32
|
def initialize(config = Configuration.default)
|
33
33
|
@config = config
|
34
|
-
@user_agent = "vgs-api-client/0.0.1.
|
34
|
+
@user_agent = "vgs-api-client/0.0.1.alpha202205252018/ruby"
|
35
35
|
@default_headers = {
|
36
36
|
'Content-Type' => 'application/json',
|
37
37
|
'User-Agent' => @user_agent
|
@@ -18,14 +18,10 @@ module VgsApiClient
|
|
18
18
|
# List of errors that occurred while processing the request.
|
19
19
|
attr_accessor :errors
|
20
20
|
|
21
|
-
# ID of request. This can be used in the VGS dashboard to lookup a request or provided to the VGS support team.
|
22
|
-
attr_accessor :trace_id
|
23
|
-
|
24
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
25
22
|
def self.attribute_map
|
26
23
|
{
|
27
|
-
:'errors' => :'errors'
|
28
|
-
:'trace_id' => :'trace_id'
|
24
|
+
:'errors' => :'errors'
|
29
25
|
}
|
30
26
|
end
|
31
27
|
|
@@ -37,8 +33,7 @@ module VgsApiClient
|
|
37
33
|
# Attribute type mapping.
|
38
34
|
def self.openapi_types
|
39
35
|
{
|
40
|
-
:'errors' => :'Array<ApiError>'
|
41
|
-
:'trace_id' => :'String'
|
36
|
+
:'errors' => :'Array<ApiError>'
|
42
37
|
}
|
43
38
|
end
|
44
39
|
|
@@ -68,10 +63,6 @@ module VgsApiClient
|
|
68
63
|
self.errors = value
|
69
64
|
end
|
70
65
|
end
|
71
|
-
|
72
|
-
if attributes.key?(:'trace_id')
|
73
|
-
self.trace_id = attributes[:'trace_id']
|
74
|
-
end
|
75
66
|
end
|
76
67
|
|
77
68
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -107,8 +98,7 @@ module VgsApiClient
|
|
107
98
|
def ==(o)
|
108
99
|
return true if self.equal?(o)
|
109
100
|
self.class == o.class &&
|
110
|
-
errors == o.errors
|
111
|
-
trace_id == o.trace_id
|
101
|
+
errors == o.errors
|
112
102
|
end
|
113
103
|
|
114
104
|
# @see the `==` method
|
@@ -120,7 +110,7 @@ module VgsApiClient
|
|
120
110
|
# Calculates hash code according to all attributes.
|
121
111
|
# @return [Integer] Hash code
|
122
112
|
def hash
|
123
|
-
[errors
|
113
|
+
[errors].hash
|
124
114
|
end
|
125
115
|
|
126
116
|
# Builds the object from hash
|
data/lib/version.rb
CHANGED
data/scripts/assemble/run.sh
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
LIB_VERSION=${LIB_VERSION:-0.0.1.alpha$(date "+%Y%m%d%H%M")}
|
4
4
|
|
5
5
|
# fix version
|
6
|
-
grep -rl 0.0.1.
|
6
|
+
grep -rl 0.0.1.alpha202205252018 . | xargs sed -i "s/0.0.1.alpha202205252018/${LIB_VERSION}/g"
|
7
7
|
|
8
8
|
# build
|
9
9
|
gem build vgs_api_client.gemspec
|
data/scripts/test/run.sh
CHANGED
@@ -5,7 +5,7 @@ set -e
|
|
5
5
|
echo "Installing lib from local sources"
|
6
6
|
# fix version
|
7
7
|
VERSION=0.0.1.alpha$(date "+%Y%m%d%H%M")
|
8
|
-
grep -rl 0.0.1.
|
8
|
+
grep -rl 0.0.1.alpha202205252018 . | xargs sed -i "s/0.0.1.alpha202205252018/$VERSION/g"
|
9
9
|
|
10
10
|
bundle install
|
11
11
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vgs_api_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1.
|
4
|
+
version: 0.0.1.alpha202205252018
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Very Good Security
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|