internetdata 1.0.0 → 1.2.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/README.md +1 -3
- data/lib/internetdata/api/database_v2_api.rb +20 -18
- data/lib/internetdata/api_client.rb +1 -1
- data/lib/internetdata/api_error.rb +1 -1
- data/lib/internetdata/api_model_base.rb +1 -1
- data/lib/internetdata/configuration.rb +15 -1
- data/lib/internetdata/models/database.rb +41 -19
- data/lib/internetdata/models/database_checksums_response.rb +1 -1
- data/lib/internetdata/models/database_list.rb +1 -1
- data/lib/internetdata/models/database_metadata.rb +1 -1
- data/lib/internetdata/models/database_metadata_column.rb +1 -1
- data/lib/internetdata/models/database_version.rb +1 -1
- data/lib/internetdata/models/db_checksums.rb +1 -1
- data/lib/internetdata/models/download.rb +1 -1
- data/lib/internetdata/models/download_list.rb +1 -1
- data/lib/internetdata/models/error_envelope.rb +1 -1
- data/lib/internetdata/transport.rb +14 -1
- data/lib/internetdata/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 98425cd6521c791c90bc69433ba40b97ae0b56ff7a311db6639c3dd6cf19c020
|
|
4
|
+
data.tar.gz: f9637d5f5b8bd35dcf5413f2eaa9458d6e647ea031cbb05ce994b59d05ad6856
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5a0cf6265a59c77527c7663d8686f1d7275bb2f38f153fb5914f9429086b323270b2336081199d25b3d93035bfbbb593c2e551a1316e7d173af5a7c8122b3f27
|
|
7
|
+
data.tar.gz: 73455933986b2034b368ff0fb5c71e112d18302b33c4a47d28198b1272e5468ee6c70e5d479574e0c4d4caab2f9e1ba74435e9800e2d060c77aef8e8107e1996
|
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# [<img src="https://s3.internetdata.io/internetdata-public/brand/mark.svg" alt="InternetData"
|
|
1
|
+
# [<img src="https://s3.internetdata.io/internetdata-public/brand/mark.svg" alt="InternetData" height="28"/>](https://internetdata.io/) InternetData Ruby Client Library
|
|
2
2
|
|
|
3
3
|
[](https://rubygems.org/gems/internetdata)
|
|
4
4
|
[](LICENSE)
|
|
@@ -37,8 +37,6 @@ end
|
|
|
37
37
|
|
|
38
38
|
`list` returns one entry per database FAMILY, because a license is held against the family while a download names a specific version. `standing` is `licensed` if the family is yours today, `expired` if the term has ended, and `unlicensed` if it is published but has never been bought. `versions` carries the ids you pass everywhere else, oldest first, and the formats each one is actually built in.
|
|
39
39
|
|
|
40
|
-
**This listing is not the same for every key.** A database commissioned for a single customer is absent from the catalog for every other organization, rather than being listed as unlicensed. So a listing is only ever an answer about the key that asked. This library never caches one, and you should not carry an answer from one key over to another or treat it as the published catalog.
|
|
41
|
-
|
|
42
40
|
### What is inside a database
|
|
43
41
|
|
|
44
42
|
```ruby
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The InternetData API. Please see https://docs.internetdata.io/api for more details.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.09.
|
|
6
|
+
The version of the OpenAPI document: 2026.09.09
|
|
7
7
|
Contact: dev@internetdata.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -19,7 +19,8 @@ module InternetData
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
|
-
# Checksums
|
|
22
|
+
# Checksums
|
|
23
|
+
# Checksums for one published file, so a download can be verified after it lands.
|
|
23
24
|
# @param id [String] Database identifier (e.g. `vpn_ip_v1`, `resproxy_provider_v1`).
|
|
24
25
|
# @param format [String] Database file format.
|
|
25
26
|
# @param [Hash] opts the optional parameters
|
|
@@ -29,7 +30,8 @@ module InternetData
|
|
|
29
30
|
data
|
|
30
31
|
end
|
|
31
32
|
|
|
32
|
-
# Checksums
|
|
33
|
+
# Checksums
|
|
34
|
+
# Checksums for one published file, so a download can be verified after it lands.
|
|
33
35
|
# @param id [String] Database identifier (e.g. `vpn_ip_v1`, `resproxy_provider_v1`).
|
|
34
36
|
# @param format [String] Database file format.
|
|
35
37
|
# @param [Hash] opts the optional parameters
|
|
@@ -79,7 +81,7 @@ module InternetData
|
|
|
79
81
|
return_type = opts[:debug_return_type] || 'DatabaseChecksumsResponse'
|
|
80
82
|
|
|
81
83
|
# auth_names
|
|
82
|
-
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
84
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyHeaderAuth', 'ApiKeyQueryAuth', 'BearerAuth']
|
|
83
85
|
|
|
84
86
|
new_options = opts.merge(
|
|
85
87
|
:operation => :"DatabaseV2Api.database_checksum_v2",
|
|
@@ -98,7 +100,7 @@ module InternetData
|
|
|
98
100
|
return data, status_code, headers
|
|
99
101
|
end
|
|
100
102
|
|
|
101
|
-
#
|
|
103
|
+
# Metadata
|
|
102
104
|
# Poll this to decide whether today's build is worth fetching: it carries `updated` and `entries` without downloading anything. No `format` parameter - one document describes every format the database is built in.
|
|
103
105
|
# @param id [String] Database identifier (e.g. `vpn_ip_v1`, `resproxy_provider_v1`).
|
|
104
106
|
# @param [Hash] opts the optional parameters
|
|
@@ -108,7 +110,7 @@ module InternetData
|
|
|
108
110
|
data
|
|
109
111
|
end
|
|
110
112
|
|
|
111
|
-
#
|
|
113
|
+
# Metadata
|
|
112
114
|
# Poll this to decide whether today's build is worth fetching: it carries `updated` and `entries` without downloading anything. No `format` parameter - one document describes every format the database is built in.
|
|
113
115
|
# @param id [String] Database identifier (e.g. `vpn_ip_v1`, `resproxy_provider_v1`).
|
|
114
116
|
# @param [Hash] opts the optional parameters
|
|
@@ -148,7 +150,7 @@ module InternetData
|
|
|
148
150
|
return_type = opts[:debug_return_type] || 'DatabaseMetadata'
|
|
149
151
|
|
|
150
152
|
# auth_names
|
|
151
|
-
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
153
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyHeaderAuth', 'ApiKeyQueryAuth', 'BearerAuth']
|
|
152
154
|
|
|
153
155
|
new_options = opts.merge(
|
|
154
156
|
:operation => :"DatabaseV2Api.database_metadata_v2",
|
|
@@ -167,7 +169,7 @@ module InternetData
|
|
|
167
169
|
return data, status_code, headers
|
|
168
170
|
end
|
|
169
171
|
|
|
170
|
-
#
|
|
172
|
+
# Download
|
|
171
173
|
# Answers `302`; the bytes come straight from object storage rather than through this API. Follow the redirect.
|
|
172
174
|
# @param id [String] Database identifier (e.g. `vpn_ip_v1`, `resproxy_provider_v1`).
|
|
173
175
|
# @param format [String] Database file format.
|
|
@@ -178,7 +180,7 @@ module InternetData
|
|
|
178
180
|
nil
|
|
179
181
|
end
|
|
180
182
|
|
|
181
|
-
#
|
|
183
|
+
# Download
|
|
182
184
|
# Answers `302`; the bytes come straight from object storage rather than through this API. Follow the redirect.
|
|
183
185
|
# @param id [String] Database identifier (e.g. `vpn_ip_v1`, `resproxy_provider_v1`).
|
|
184
186
|
# @param format [String] Database file format.
|
|
@@ -229,7 +231,7 @@ module InternetData
|
|
|
229
231
|
return_type = opts[:debug_return_type]
|
|
230
232
|
|
|
231
233
|
# auth_names
|
|
232
|
-
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
234
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyHeaderAuth', 'ApiKeyQueryAuth', 'BearerAuth']
|
|
233
235
|
|
|
234
236
|
new_options = opts.merge(
|
|
235
237
|
:operation => :"DatabaseV2Api.download_database_v2",
|
|
@@ -248,8 +250,8 @@ module InternetData
|
|
|
248
250
|
return data, status_code, headers
|
|
249
251
|
end
|
|
250
252
|
|
|
251
|
-
#
|
|
252
|
-
# The whole published catalog, with your organization's licence beside each entry, so `standing` says whether a database is yours today (`licensed`), was (`expired`), or has never been bought (`unlicensed`).
|
|
253
|
+
# List
|
|
254
|
+
# The whole published catalog, with your organization's licence beside each entry, so `standing` says whether a database is yours today (`licensed`), was (`expired`), or has never been bought (`unlicensed`).
|
|
253
255
|
# @param [Hash] opts the optional parameters
|
|
254
256
|
# @return [DatabaseList]
|
|
255
257
|
def list_databases(opts = {})
|
|
@@ -257,8 +259,8 @@ module InternetData
|
|
|
257
259
|
data
|
|
258
260
|
end
|
|
259
261
|
|
|
260
|
-
#
|
|
261
|
-
# The whole published catalog, with your organization's licence beside each entry, so `standing` says whether a database is yours today (`licensed`), was (`expired`), or has never been bought (`unlicensed`).
|
|
262
|
+
# List
|
|
263
|
+
# The whole published catalog, with your organization's licence beside each entry, so `standing` says whether a database is yours today (`licensed`), was (`expired`), or has never been bought (`unlicensed`).
|
|
262
264
|
# @param [Hash] opts the optional parameters
|
|
263
265
|
# @return [Array<(DatabaseList, Integer, Hash)>] DatabaseList data, response status code and response headers
|
|
264
266
|
def list_databases_with_http_info(opts = {})
|
|
@@ -286,7 +288,7 @@ module InternetData
|
|
|
286
288
|
return_type = opts[:debug_return_type] || 'DatabaseList'
|
|
287
289
|
|
|
288
290
|
# auth_names
|
|
289
|
-
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
291
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyHeaderAuth', 'ApiKeyQueryAuth', 'BearerAuth']
|
|
290
292
|
|
|
291
293
|
new_options = opts.merge(
|
|
292
294
|
:operation => :"DatabaseV2Api.list_databases",
|
|
@@ -305,7 +307,7 @@ module InternetData
|
|
|
305
307
|
return data, status_code, headers
|
|
306
308
|
end
|
|
307
309
|
|
|
308
|
-
#
|
|
310
|
+
# History
|
|
309
311
|
# Refusals are listed too: a denial is what answers \"it stopped working\", and its absence answers nothing.
|
|
310
312
|
# @param [Hash] opts the optional parameters
|
|
311
313
|
# @option opts [Integer] :limit How many attempts to return. Clamped to 200. (default to 50)
|
|
@@ -315,7 +317,7 @@ module InternetData
|
|
|
315
317
|
data
|
|
316
318
|
end
|
|
317
319
|
|
|
318
|
-
#
|
|
320
|
+
# History
|
|
319
321
|
# Refusals are listed too: a denial is what answers \"it stopped working\", and its absence answers nothing.
|
|
320
322
|
# @param [Hash] opts the optional parameters
|
|
321
323
|
# @option opts [Integer] :limit How many attempts to return. Clamped to 200. (default to 50)
|
|
@@ -354,7 +356,7 @@ module InternetData
|
|
|
354
356
|
return_type = opts[:debug_return_type] || 'DownloadList'
|
|
355
357
|
|
|
356
358
|
# auth_names
|
|
357
|
-
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
359
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyHeaderAuth', 'ApiKeyQueryAuth', 'BearerAuth']
|
|
358
360
|
|
|
359
361
|
new_options = opts.merge(
|
|
360
362
|
:operation => :"DatabaseV2Api.list_downloads",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The InternetData API. Please see https://docs.internetdata.io/api for more details.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.09.
|
|
6
|
+
The version of the OpenAPI document: 2026.09.09
|
|
7
7
|
Contact: dev@internetdata.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The InternetData API. Please see https://docs.internetdata.io/api for more details.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.09.
|
|
6
|
+
The version of the OpenAPI document: 2026.09.09
|
|
7
7
|
Contact: dev@internetdata.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The InternetData API. Please see https://docs.internetdata.io/api for more details.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.09.
|
|
6
|
+
The version of the OpenAPI document: 2026.09.09
|
|
7
7
|
Contact: dev@internetdata.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The InternetData API. Please see https://docs.internetdata.io/api for more details.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.09.
|
|
6
|
+
The version of the OpenAPI document: 2026.09.09
|
|
7
7
|
Contact: dev@internetdata.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -258,6 +258,20 @@ module InternetData
|
|
|
258
258
|
key: 'Authorization',
|
|
259
259
|
value: "Bearer #{access_token_with_refresh}"
|
|
260
260
|
},
|
|
261
|
+
'ApiKeyHeaderAuth' =>
|
|
262
|
+
{
|
|
263
|
+
type: 'api_key',
|
|
264
|
+
in: 'header',
|
|
265
|
+
key: 'X-Api-Key',
|
|
266
|
+
value: api_key_with_prefix('X-Api-Key')
|
|
267
|
+
},
|
|
268
|
+
'ApiKeyQueryAuth' =>
|
|
269
|
+
{
|
|
270
|
+
type: 'api_key',
|
|
271
|
+
in: 'query',
|
|
272
|
+
key: 'apikey',
|
|
273
|
+
value: api_key_with_prefix('apikey')
|
|
274
|
+
},
|
|
261
275
|
}
|
|
262
276
|
end
|
|
263
277
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The InternetData API. Please see https://docs.internetdata.io/api for more details.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.09.
|
|
6
|
+
The version of the OpenAPI document: 2026.09.09
|
|
7
7
|
Contact: dev@internetdata.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -28,13 +28,19 @@ module InternetData
|
|
|
28
28
|
attr_accessor :standing
|
|
29
29
|
|
|
30
30
|
# What your licence permits you to do with the data. Null when there is no licence.
|
|
31
|
-
attr_accessor :
|
|
31
|
+
attr_accessor :license_type
|
|
32
32
|
|
|
33
33
|
attr_accessor :starts
|
|
34
34
|
|
|
35
|
-
# Null when the licence has no end date,
|
|
35
|
+
# A hard stop. Null when the licence has no end date, which is the normal case for a rolling agreement, and when there is no licence. A rolling licence reports its turnover date in renews_at instead.
|
|
36
36
|
attr_accessor :expires
|
|
37
37
|
|
|
38
|
+
# When a rolling licence next renews. Null when the licence has no defined term, when expires sets a hard stop instead, and when there is no licence.
|
|
39
|
+
attr_accessor :renews_at
|
|
40
|
+
|
|
41
|
+
# The last day notice of non-renewal can be given for the term ending at renews_at. Null whenever renews_at is, and when the agreement records no notice period.
|
|
42
|
+
attr_accessor :notice_due_at
|
|
43
|
+
|
|
38
44
|
# Every published version of this family, oldest first. Old versions are frozen rather than migrated, so both stay downloadable.
|
|
39
45
|
attr_accessor :versions
|
|
40
46
|
|
|
@@ -67,9 +73,11 @@ module InternetData
|
|
|
67
73
|
:'name' => :'name',
|
|
68
74
|
:'summary' => :'summary',
|
|
69
75
|
:'standing' => :'standing',
|
|
70
|
-
:'
|
|
76
|
+
:'license_type' => :'license_type',
|
|
71
77
|
:'starts' => :'starts',
|
|
72
78
|
:'expires' => :'expires',
|
|
79
|
+
:'renews_at' => :'renews_at',
|
|
80
|
+
:'notice_due_at' => :'notice_due_at',
|
|
73
81
|
:'versions' => :'versions'
|
|
74
82
|
}
|
|
75
83
|
end
|
|
@@ -91,9 +99,11 @@ module InternetData
|
|
|
91
99
|
:'name' => :'String',
|
|
92
100
|
:'summary' => :'String',
|
|
93
101
|
:'standing' => :'String',
|
|
94
|
-
:'
|
|
102
|
+
:'license_type' => :'String',
|
|
95
103
|
:'starts' => :'Time',
|
|
96
104
|
:'expires' => :'Time',
|
|
105
|
+
:'renews_at' => :'Time',
|
|
106
|
+
:'notice_due_at' => :'Time',
|
|
97
107
|
:'versions' => :'Array<DatabaseVersion>'
|
|
98
108
|
}
|
|
99
109
|
end
|
|
@@ -101,9 +111,11 @@ module InternetData
|
|
|
101
111
|
# List of attributes with nullable: true
|
|
102
112
|
def self.openapi_nullable
|
|
103
113
|
Set.new([
|
|
104
|
-
:'
|
|
114
|
+
:'license_type',
|
|
105
115
|
:'starts',
|
|
106
116
|
:'expires',
|
|
117
|
+
:'renews_at',
|
|
118
|
+
:'notice_due_at',
|
|
107
119
|
])
|
|
108
120
|
end
|
|
109
121
|
|
|
@@ -147,10 +159,10 @@ module InternetData
|
|
|
147
159
|
self.standing = nil
|
|
148
160
|
end
|
|
149
161
|
|
|
150
|
-
if attributes.key?(:'
|
|
151
|
-
self.
|
|
162
|
+
if attributes.key?(:'license_type')
|
|
163
|
+
self.license_type = attributes[:'license_type']
|
|
152
164
|
else
|
|
153
|
-
self.
|
|
165
|
+
self.license_type = nil
|
|
154
166
|
end
|
|
155
167
|
|
|
156
168
|
if attributes.key?(:'starts')
|
|
@@ -165,6 +177,14 @@ module InternetData
|
|
|
165
177
|
self.expires = nil
|
|
166
178
|
end
|
|
167
179
|
|
|
180
|
+
if attributes.key?(:'renews_at')
|
|
181
|
+
self.renews_at = attributes[:'renews_at']
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
if attributes.key?(:'notice_due_at')
|
|
185
|
+
self.notice_due_at = attributes[:'notice_due_at']
|
|
186
|
+
end
|
|
187
|
+
|
|
168
188
|
if attributes.key?(:'versions')
|
|
169
189
|
if (value = attributes[:'versions']).is_a?(Array)
|
|
170
190
|
self.versions = value
|
|
@@ -212,8 +232,8 @@ module InternetData
|
|
|
212
232
|
return false if @standing.nil?
|
|
213
233
|
standing_validator = EnumAttributeValidator.new('String', ["licensed", "expired", "unlicensed"])
|
|
214
234
|
return false unless standing_validator.valid?(@standing)
|
|
215
|
-
|
|
216
|
-
return false unless
|
|
235
|
+
license_type_validator = EnumAttributeValidator.new('String', ["evaluation", "standard", "redistribute"])
|
|
236
|
+
return false unless license_type_validator.valid?(@license_type)
|
|
217
237
|
return false if @versions.nil?
|
|
218
238
|
true
|
|
219
239
|
end
|
|
@@ -259,13 +279,13 @@ module InternetData
|
|
|
259
279
|
end
|
|
260
280
|
|
|
261
281
|
# Custom attribute writer method checking allowed values (enum).
|
|
262
|
-
# @param [Object]
|
|
263
|
-
def
|
|
264
|
-
validator = EnumAttributeValidator.new('String', ["evaluation", "
|
|
265
|
-
unless validator.valid?(
|
|
266
|
-
fail ArgumentError, "invalid value for \"
|
|
282
|
+
# @param [Object] license_type Object to be assigned
|
|
283
|
+
def license_type=(license_type)
|
|
284
|
+
validator = EnumAttributeValidator.new('String', ["evaluation", "standard", "redistribute"])
|
|
285
|
+
unless validator.valid?(license_type)
|
|
286
|
+
fail ArgumentError, "invalid value for \"license_type\", must be one of #{validator.allowable_values}."
|
|
267
287
|
end
|
|
268
|
-
@
|
|
288
|
+
@license_type = license_type
|
|
269
289
|
end
|
|
270
290
|
|
|
271
291
|
# Custom attribute writer method with validation
|
|
@@ -287,9 +307,11 @@ module InternetData
|
|
|
287
307
|
name == o.name &&
|
|
288
308
|
summary == o.summary &&
|
|
289
309
|
standing == o.standing &&
|
|
290
|
-
|
|
310
|
+
license_type == o.license_type &&
|
|
291
311
|
starts == o.starts &&
|
|
292
312
|
expires == o.expires &&
|
|
313
|
+
renews_at == o.renews_at &&
|
|
314
|
+
notice_due_at == o.notice_due_at &&
|
|
293
315
|
versions == o.versions
|
|
294
316
|
end
|
|
295
317
|
|
|
@@ -302,7 +324,7 @@ module InternetData
|
|
|
302
324
|
# Calculates hash code according to all attributes.
|
|
303
325
|
# @return [Integer] Hash code
|
|
304
326
|
def hash
|
|
305
|
-
[base, name, summary, standing,
|
|
327
|
+
[base, name, summary, standing, license_type, starts, expires, renews_at, notice_due_at, versions].hash
|
|
306
328
|
end
|
|
307
329
|
|
|
308
330
|
# Builds the object from hash
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The InternetData API. Please see https://docs.internetdata.io/api for more details.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.09.
|
|
6
|
+
The version of the OpenAPI document: 2026.09.09
|
|
7
7
|
Contact: dev@internetdata.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The InternetData API. Please see https://docs.internetdata.io/api for more details.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.09.
|
|
6
|
+
The version of the OpenAPI document: 2026.09.09
|
|
7
7
|
Contact: dev@internetdata.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The InternetData API. Please see https://docs.internetdata.io/api for more details.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.09.
|
|
6
|
+
The version of the OpenAPI document: 2026.09.09
|
|
7
7
|
Contact: dev@internetdata.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The InternetData API. Please see https://docs.internetdata.io/api for more details.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.09.
|
|
6
|
+
The version of the OpenAPI document: 2026.09.09
|
|
7
7
|
Contact: dev@internetdata.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The InternetData API. Please see https://docs.internetdata.io/api for more details.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.09.
|
|
6
|
+
The version of the OpenAPI document: 2026.09.09
|
|
7
7
|
Contact: dev@internetdata.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The InternetData API. Please see https://docs.internetdata.io/api for more details.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.09.
|
|
6
|
+
The version of the OpenAPI document: 2026.09.09
|
|
7
7
|
Contact: dev@internetdata.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The InternetData API. Please see https://docs.internetdata.io/api for more details.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.09.
|
|
6
|
+
The version of the OpenAPI document: 2026.09.09
|
|
7
7
|
Contact: dev@internetdata.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The InternetData API. Please see https://docs.internetdata.io/api for more details.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.09.
|
|
6
|
+
The version of the OpenAPI document: 2026.09.09
|
|
7
7
|
Contact: dev@internetdata.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The InternetData API. Please see https://docs.internetdata.io/api for more details.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.09.
|
|
6
|
+
The version of the OpenAPI document: 2026.09.09
|
|
7
7
|
Contact: dev@internetdata.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -21,10 +21,23 @@ module InternetData
|
|
|
21
21
|
self.timeout = timeout
|
|
22
22
|
end
|
|
23
23
|
|
|
24
|
+
# ONLY the bearer scheme, never `super`.
|
|
25
|
+
#
|
|
26
|
+
# The generated settings list every scheme the spec declares - including
|
|
27
|
+
# `?apikey=`, which is there for curl users - and Ruby's client applies
|
|
28
|
+
# ALL of them, so `super` put the key in the URL as well as the header,
|
|
29
|
+
# where it lands in every access log between here and the API. The sibling
|
|
30
|
+
# brand's transport has always narrowed it this way; this one did not, and
|
|
31
|
+
# its own test caught it.
|
|
24
32
|
def auth_settings
|
|
25
33
|
return {} if access_token.nil? || access_token.to_s.empty?
|
|
26
34
|
|
|
27
|
-
|
|
35
|
+
{
|
|
36
|
+
'BearerAuth' => {
|
|
37
|
+
type: 'bearer', in: 'header', key: 'Authorization',
|
|
38
|
+
value: "Bearer #{access_token}"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
28
41
|
end
|
|
29
42
|
end
|
|
30
43
|
|
data/lib/internetdata/version.rb
CHANGED