cloudmersive-validate-api-client 1.3.5 → 1.3.6
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 +10 -4
- data/docs/DomainApi.md +55 -0
- data/docs/UserAgentApi.md +63 -0
- data/docs/UserAgentValidateRequest.md +8 -0
- data/docs/UserAgentValidateResponse.md +21 -0
- data/docs/ValidateUrlRequestFull.md +8 -0
- data/docs/ValidateUrlResponseFull.md +12 -0
- data/lib/cloudmersive-validate-api-client.rb +5 -0
- data/lib/cloudmersive-validate-api-client/api/domain_api.rb +55 -0
- data/lib/cloudmersive-validate-api-client/api/user_agent_api.rb +78 -0
- data/lib/cloudmersive-validate-api-client/models/user_agent_validate_request.rb +189 -0
- data/lib/cloudmersive-validate-api-client/models/user_agent_validate_response.rb +319 -0
- data/lib/cloudmersive-validate-api-client/models/validate_url_request_full.rb +188 -0
- data/lib/cloudmersive-validate-api-client/models/validate_url_response_full.rb +229 -0
- data/lib/cloudmersive-validate-api-client/models/validate_url_response_syntax_only.rb +1 -1
- data/lib/cloudmersive-validate-api-client/version.rb +1 -1
- data/spec/api/domain_api_spec.rb +12 -0
- data/spec/api/user_agent_api_spec.rb +47 -0
- data/spec/models/user_agent_validate_request_spec.rb +42 -0
- data/spec/models/user_agent_validate_response_spec.rb +120 -0
- data/spec/models/validate_url_request_full_spec.rb +42 -0
- data/spec/models/validate_url_response_full_spec.rb +66 -0
- metadata +17 -2
@@ -0,0 +1,42 @@
|
|
1
|
+
=begin
|
2
|
+
#validateapi
|
3
|
+
|
4
|
+
#The validation APIs help you validate data. Check if an E-mail address is real. Check if a domain is real. Check up on an IP address, and even where it is located. All this and much more is available in the validation API.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: unset
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveValidateApiClient::ValidateUrlRequestFull
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ValidateUrlRequestFull' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveValidateApiClient::ValidateUrlRequestFull.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ValidateUrlRequestFull' do
|
31
|
+
it 'should create an instance of ValidateUrlRequestFull' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::ValidateUrlRequestFull)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "url"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
42
|
+
|
@@ -0,0 +1,66 @@
|
|
1
|
+
=begin
|
2
|
+
#validateapi
|
3
|
+
|
4
|
+
#The validation APIs help you validate data. Check if an E-mail address is real. Check if a domain is real. Check up on an IP address, and even where it is located. All this and much more is available in the validation API.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: unset
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveValidateApiClient::ValidateUrlResponseFull
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ValidateUrlResponseFull' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveValidateApiClient::ValidateUrlResponseFull.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ValidateUrlResponseFull' do
|
31
|
+
it 'should create an instance of ValidateUrlResponseFull' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::ValidateUrlResponseFull)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "valid_url"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "valid_syntax"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "valid_domain"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "valid_endpoint"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "well_formed_url"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
66
|
+
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudmersive-validate-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cloudmersive
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08
|
11
|
+
date: 2019-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -226,7 +226,12 @@ files:
|
|
226
226
|
- "./docs/PhoneNumberApi.md"
|
227
227
|
- "./docs/PhoneNumberValidateRequest.md"
|
228
228
|
- "./docs/PhoneNumberValidationResponse.md"
|
229
|
+
- "./docs/UserAgentApi.md"
|
230
|
+
- "./docs/UserAgentValidateRequest.md"
|
231
|
+
- "./docs/UserAgentValidateResponse.md"
|
232
|
+
- "./docs/ValidateUrlRequestFull.md"
|
229
233
|
- "./docs/ValidateUrlRequestSyntaxOnly.md"
|
234
|
+
- "./docs/ValidateUrlResponseFull.md"
|
230
235
|
- "./docs/ValidateUrlResponseSyntaxOnly.md"
|
231
236
|
- "./docs/VatApi.md"
|
232
237
|
- "./docs/VatLookupRequest.md"
|
@@ -240,6 +245,7 @@ files:
|
|
240
245
|
- "./lib/cloudmersive-validate-api-client/api/ip_address_api.rb"
|
241
246
|
- "./lib/cloudmersive-validate-api-client/api/name_api.rb"
|
242
247
|
- "./lib/cloudmersive-validate-api-client/api/phone_number_api.rb"
|
248
|
+
- "./lib/cloudmersive-validate-api-client/api/user_agent_api.rb"
|
243
249
|
- "./lib/cloudmersive-validate-api-client/api/vat_api.rb"
|
244
250
|
- "./lib/cloudmersive-validate-api-client/api_client.rb"
|
245
251
|
- "./lib/cloudmersive-validate-api-client/api_error.rb"
|
@@ -261,7 +267,11 @@ files:
|
|
261
267
|
- "./lib/cloudmersive-validate-api-client/models/parse_address_response.rb"
|
262
268
|
- "./lib/cloudmersive-validate-api-client/models/phone_number_validate_request.rb"
|
263
269
|
- "./lib/cloudmersive-validate-api-client/models/phone_number_validation_response.rb"
|
270
|
+
- "./lib/cloudmersive-validate-api-client/models/user_agent_validate_request.rb"
|
271
|
+
- "./lib/cloudmersive-validate-api-client/models/user_agent_validate_response.rb"
|
272
|
+
- "./lib/cloudmersive-validate-api-client/models/validate_url_request_full.rb"
|
264
273
|
- "./lib/cloudmersive-validate-api-client/models/validate_url_request_syntax_only.rb"
|
274
|
+
- "./lib/cloudmersive-validate-api-client/models/validate_url_response_full.rb"
|
265
275
|
- "./lib/cloudmersive-validate-api-client/models/validate_url_response_syntax_only.rb"
|
266
276
|
- "./lib/cloudmersive-validate-api-client/models/vat_lookup_request.rb"
|
267
277
|
- "./lib/cloudmersive-validate-api-client/models/vat_lookup_response.rb"
|
@@ -273,6 +283,7 @@ files:
|
|
273
283
|
- "./spec/api/ip_address_api_spec.rb"
|
274
284
|
- "./spec/api/name_api_spec.rb"
|
275
285
|
- "./spec/api/phone_number_api_spec.rb"
|
286
|
+
- "./spec/api/user_agent_api_spec.rb"
|
276
287
|
- "./spec/api/vat_api_spec.rb"
|
277
288
|
- "./spec/api_client_spec.rb"
|
278
289
|
- "./spec/configuration_spec.rb"
|
@@ -293,7 +304,11 @@ files:
|
|
293
304
|
- "./spec/models/parse_address_response_spec.rb"
|
294
305
|
- "./spec/models/phone_number_validate_request_spec.rb"
|
295
306
|
- "./spec/models/phone_number_validation_response_spec.rb"
|
307
|
+
- "./spec/models/user_agent_validate_request_spec.rb"
|
308
|
+
- "./spec/models/user_agent_validate_response_spec.rb"
|
309
|
+
- "./spec/models/validate_url_request_full_spec.rb"
|
296
310
|
- "./spec/models/validate_url_request_syntax_only_spec.rb"
|
311
|
+
- "./spec/models/validate_url_response_full_spec.rb"
|
297
312
|
- "./spec/models/validate_url_response_syntax_only_spec.rb"
|
298
313
|
- "./spec/models/vat_lookup_request_spec.rb"
|
299
314
|
- "./spec/models/vat_lookup_response_spec.rb"
|