cloudmersive-validate-api-client 1.3.3 → 1.3.9
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 +30 -9
- data/cloudmersive-validate-api-client.gemspec +1 -1
- data/docs/AddressApi.md +118 -0
- data/docs/AddressGetServersResponse.md +2 -2
- data/docs/AddressVerifySyntaxOnlyResponse.md +3 -0
- data/docs/DomainApi.md +112 -2
- data/docs/EmailApi.md +3 -3
- data/docs/IPAddressApi.md +1 -1
- data/docs/LeadEnrichmentApi.md +61 -0
- data/docs/LeadEnrichmentRequest.md +21 -0
- data/docs/LeadEnrichmentResponse.md +25 -0
- data/docs/NameApi.md +59 -4
- data/docs/ParseAddressRequest.md +9 -0
- data/docs/ParseAddressResponse.md +16 -0
- data/docs/PhoneNumberApi.md +1 -1
- data/docs/UserAgentApi.md +63 -0
- data/docs/UserAgentValidateRequest.md +8 -0
- data/docs/UserAgentValidateResponse.md +21 -0
- data/docs/ValidateCountryRequest.md +8 -0
- data/docs/ValidateCountryResponse.md +12 -0
- data/docs/ValidateIdentifierRequest.md +15 -0
- data/docs/ValidateIdentifierResponse.md +9 -0
- data/docs/ValidateUrlRequestFull.md +8 -0
- data/docs/ValidateUrlRequestSyntaxOnly.md +8 -0
- data/docs/ValidateUrlResponseFull.md +12 -0
- data/docs/ValidateUrlResponseSyntaxOnly.md +9 -0
- data/docs/VatApi.md +1 -1
- data/docs/VatLookupRequest.md +1 -1
- data/docs/VatLookupResponse.md +12 -5
- data/docs/WhoisResponse.md +11 -0
- data/lib/cloudmersive-validate-api-client.rb +18 -1
- data/lib/cloudmersive-validate-api-client/api/address_api.rb +133 -0
- data/lib/cloudmersive-validate-api-client/api/domain_api.rb +113 -3
- data/lib/cloudmersive-validate-api-client/api/email_api.rb +4 -4
- data/lib/cloudmersive-validate-api-client/api/ip_address_api.rb +2 -2
- data/lib/cloudmersive-validate-api-client/api/lead_enrichment_api.rb +78 -0
- data/lib/cloudmersive-validate-api-client/api/name_api.rb +60 -5
- data/lib/cloudmersive-validate-api-client/api/phone_number_api.rb +2 -2
- data/lib/cloudmersive-validate-api-client/api/user_agent_api.rb +78 -0
- data/lib/cloudmersive-validate-api-client/api/vat_api.rb +2 -2
- data/lib/cloudmersive-validate-api-client/api_client.rb +1 -1
- data/lib/cloudmersive-validate-api-client/api_error.rb +1 -1
- data/lib/cloudmersive-validate-api-client/configuration.rb +1 -1
- data/lib/cloudmersive-validate-api-client/models/address_get_servers_response.rb +3 -1
- data/lib/cloudmersive-validate-api-client/models/address_verify_syntax_only_response.rb +35 -5
- data/lib/cloudmersive-validate-api-client/models/check_response.rb +1 -1
- data/lib/cloudmersive-validate-api-client/models/first_name_validation_request.rb +1 -1
- data/lib/cloudmersive-validate-api-client/models/first_name_validation_response.rb +1 -1
- data/lib/cloudmersive-validate-api-client/models/full_email_validation_response.rb +1 -1
- data/lib/cloudmersive-validate-api-client/models/full_name_validation_request.rb +1 -1
- data/lib/cloudmersive-validate-api-client/models/full_name_validation_response.rb +1 -1
- data/lib/cloudmersive-validate-api-client/models/geolocate_response.rb +1 -1
- data/lib/cloudmersive-validate-api-client/models/get_gender_request.rb +1 -1
- data/lib/cloudmersive-validate-api-client/models/get_gender_response.rb +1 -1
- data/lib/cloudmersive-validate-api-client/models/last_name_validation_request.rb +1 -1
- data/lib/cloudmersive-validate-api-client/models/last_name_validation_response.rb +1 -1
- data/lib/cloudmersive-validate-api-client/models/lead_enrichment_request.rb +319 -0
- data/lib/cloudmersive-validate-api-client/models/lead_enrichment_response.rb +359 -0
- data/lib/cloudmersive-validate-api-client/models/parse_address_request.rb +199 -0
- data/lib/cloudmersive-validate-api-client/models/parse_address_response.rb +269 -0
- data/lib/cloudmersive-validate-api-client/models/phone_number_validate_request.rb +1 -1
- data/lib/cloudmersive-validate-api-client/models/phone_number_validation_response.rb +1 -1
- 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_country_request.rb +189 -0
- data/lib/cloudmersive-validate-api-client/models/validate_country_response.rb +229 -0
- data/lib/cloudmersive-validate-api-client/models/validate_identifier_request.rb +259 -0
- data/lib/cloudmersive-validate-api-client/models/validate_identifier_response.rb +199 -0
- data/lib/cloudmersive-validate-api-client/models/validate_url_request_full.rb +189 -0
- data/lib/cloudmersive-validate-api-client/models/validate_url_request_syntax_only.rb +189 -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 +199 -0
- data/lib/cloudmersive-validate-api-client/models/vat_lookup_request.rb +2 -1
- data/lib/cloudmersive-validate-api-client/models/vat_lookup_response.rb +80 -5
- data/lib/cloudmersive-validate-api-client/models/whois_response.rb +112 -2
- data/lib/cloudmersive-validate-api-client/version.rb +2 -2
- data/spec/api/address_api_spec.rb +59 -0
- data/spec/api/domain_api_spec.rb +25 -1
- data/spec/api/email_api_spec.rb +1 -1
- data/spec/api/ip_address_api_spec.rb +1 -1
- data/spec/api/lead_enrichment_api_spec.rb +47 -0
- data/spec/api/name_api_spec.rb +13 -1
- data/spec/api/phone_number_api_spec.rb +1 -1
- data/spec/api/user_agent_api_spec.rb +47 -0
- data/spec/api/vat_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/address_get_servers_response_spec.rb +1 -1
- data/spec/models/address_verify_syntax_only_response_spec.rb +19 -1
- data/spec/models/check_response_spec.rb +1 -1
- data/spec/models/first_name_validation_request_spec.rb +1 -1
- data/spec/models/first_name_validation_response_spec.rb +1 -1
- data/spec/models/full_email_validation_response_spec.rb +1 -1
- data/spec/models/full_name_validation_request_spec.rb +1 -1
- data/spec/models/full_name_validation_response_spec.rb +1 -1
- data/spec/models/geolocate_response_spec.rb +1 -1
- data/spec/models/get_gender_request_spec.rb +1 -1
- data/spec/models/get_gender_response_spec.rb +1 -1
- data/spec/models/last_name_validation_request_spec.rb +1 -1
- data/spec/models/last_name_validation_response_spec.rb +1 -1
- data/spec/models/lead_enrichment_request_spec.rb +120 -0
- data/spec/models/lead_enrichment_response_spec.rb +144 -0
- data/spec/models/parse_address_request_spec.rb +48 -0
- data/spec/models/parse_address_response_spec.rb +90 -0
- data/spec/models/phone_number_validate_request_spec.rb +1 -1
- data/spec/models/phone_number_validation_response_spec.rb +1 -1
- 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_country_request_spec.rb +42 -0
- data/spec/models/validate_country_response_spec.rb +66 -0
- data/spec/models/validate_identifier_request_spec.rb +84 -0
- data/spec/models/validate_identifier_response_spec.rb +48 -0
- data/spec/models/validate_url_request_full_spec.rb +42 -0
- data/spec/models/validate_url_request_syntax_only_spec.rb +42 -0
- data/spec/models/validate_url_response_full_spec.rb +66 -0
- data/spec/models/validate_url_response_syntax_only_spec.rb +48 -0
- data/spec/models/vat_lookup_request_spec.rb +1 -1
- data/spec/models/vat_lookup_response_spec.rb +43 -1
- data/spec/models/whois_response_spec.rb +67 -1
- data/spec/spec_helper.rb +1 -1
- metadata +66 -16
|
@@ -0,0 +1,48 @@
|
|
|
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: 2.3.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for CloudmersiveValidateApiClient::ValidateIdentifierResponse
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ValidateIdentifierResponse' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = CloudmersiveValidateApiClient::ValidateIdentifierResponse.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ValidateIdentifierResponse' do
|
|
31
|
+
it 'should create an instance of ValidateIdentifierResponse' do
|
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::ValidateIdentifierResponse)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "valid_identifier"' 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 "error"' 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
|
+
end
|
|
48
|
+
|
|
@@ -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: 2.3.1
|
|
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,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: 2.3.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for CloudmersiveValidateApiClient::ValidateUrlRequestSyntaxOnly
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ValidateUrlRequestSyntaxOnly' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = CloudmersiveValidateApiClient::ValidateUrlRequestSyntaxOnly.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ValidateUrlRequestSyntaxOnly' do
|
|
31
|
+
it 'should create an instance of ValidateUrlRequestSyntaxOnly' do
|
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::ValidateUrlRequestSyntaxOnly)
|
|
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: 2.3.1
|
|
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
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
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: 2.3.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for CloudmersiveValidateApiClient::ValidateUrlResponseSyntaxOnly
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ValidateUrlResponseSyntaxOnly' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = CloudmersiveValidateApiClient::ValidateUrlResponseSyntaxOnly.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ValidateUrlResponseSyntaxOnly' do
|
|
31
|
+
it 'should create an instance of ValidateUrlResponseSyntaxOnly' do
|
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::ValidateUrlResponseSyntaxOnly)
|
|
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 "well_formed_url"' 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
|
+
end
|
|
48
|
+
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
OpenAPI spec version: v1
|
|
7
7
|
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version:
|
|
9
|
+
Swagger Codegen version: 2.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -62,5 +62,47 @@ describe 'VatLookupResponse' do
|
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
+
describe 'test attribute "business_building"' do
|
|
66
|
+
it 'should work' do
|
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
describe 'test attribute "business_street_number"' do
|
|
72
|
+
it 'should work' do
|
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
describe 'test attribute "business_street"' do
|
|
78
|
+
it 'should work' do
|
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
describe 'test attribute "business_city"' do
|
|
84
|
+
it 'should work' do
|
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
describe 'test attribute "business_state_or_province"' do
|
|
90
|
+
it 'should work' do
|
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
describe 'test attribute "business_postal_code"' do
|
|
96
|
+
it 'should work' do
|
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
describe 'test attribute "business_country"' do
|
|
102
|
+
it 'should work' do
|
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
|
|
65
107
|
end
|
|
66
108
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
OpenAPI spec version: v1
|
|
7
7
|
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version:
|
|
9
|
+
Swagger Codegen version: 2.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -38,6 +38,72 @@ describe 'WhoisResponse' do
|
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
+
describe 'test attribute "registrant_name"' 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 "registrant_organization"' 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 "registrant_email"' 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 "registrant_street_number"' 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
|
+
describe 'test attribute "registrant_street"' do
|
|
66
|
+
it 'should work' do
|
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
describe 'test attribute "registrant_city"' do
|
|
72
|
+
it 'should work' do
|
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
describe 'test attribute "registrant_state_or_province"' do
|
|
78
|
+
it 'should work' do
|
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
describe 'test attribute "registrant_postal_code"' do
|
|
84
|
+
it 'should work' do
|
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
describe 'test attribute "registrant_country"' do
|
|
90
|
+
it 'should work' do
|
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
describe 'test attribute "registrant_raw_address"' do
|
|
96
|
+
it 'should work' do
|
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
describe 'test attribute "registrant_telephone"' do
|
|
102
|
+
it 'should work' do
|
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
|
|
41
107
|
describe 'test attribute "whois_server"' do
|
|
42
108
|
it 'should work' do
|
|
43
109
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/spec_helper.rb
CHANGED
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.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cloudmersive
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-12-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -34,42 +34,42 @@ dependencies:
|
|
|
34
34
|
name: json
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
|
-
- - "~>"
|
|
38
|
-
- !ruby/object:Gem::Version
|
|
39
|
-
version: '2.1'
|
|
40
37
|
- - ">="
|
|
41
38
|
- !ruby/object:Gem::Version
|
|
42
39
|
version: 2.1.0
|
|
40
|
+
- - "~>"
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
version: '2.1'
|
|
43
43
|
type: :runtime
|
|
44
44
|
prerelease: false
|
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
|
46
46
|
requirements:
|
|
47
|
-
- - "~>"
|
|
48
|
-
- !ruby/object:Gem::Version
|
|
49
|
-
version: '2.1'
|
|
50
47
|
- - ">="
|
|
51
48
|
- !ruby/object:Gem::Version
|
|
52
49
|
version: 2.1.0
|
|
50
|
+
- - "~>"
|
|
51
|
+
- !ruby/object:Gem::Version
|
|
52
|
+
version: '2.1'
|
|
53
53
|
- !ruby/object:Gem::Dependency
|
|
54
54
|
name: rspec
|
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
|
56
56
|
requirements:
|
|
57
|
-
- - "~>"
|
|
58
|
-
- !ruby/object:Gem::Version
|
|
59
|
-
version: '3.6'
|
|
60
57
|
- - ">="
|
|
61
58
|
- !ruby/object:Gem::Version
|
|
62
59
|
version: 3.6.0
|
|
60
|
+
- - "~>"
|
|
61
|
+
- !ruby/object:Gem::Version
|
|
62
|
+
version: '3.6'
|
|
63
63
|
type: :development
|
|
64
64
|
prerelease: false
|
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
|
67
|
-
- - "~>"
|
|
68
|
-
- !ruby/object:Gem::Version
|
|
69
|
-
version: '3.6'
|
|
70
67
|
- - ">="
|
|
71
68
|
- !ruby/object:Gem::Version
|
|
72
69
|
version: 3.6.0
|
|
70
|
+
- - "~>"
|
|
71
|
+
- !ruby/object:Gem::Version
|
|
72
|
+
version: '3.6'
|
|
73
73
|
- !ruby/object:Gem::Dependency
|
|
74
74
|
name: vcr
|
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -203,6 +203,7 @@ files:
|
|
|
203
203
|
- "./README.md"
|
|
204
204
|
- "./Rakefile"
|
|
205
205
|
- "./cloudmersive-validate-api-client.gemspec"
|
|
206
|
+
- "./docs/AddressApi.md"
|
|
206
207
|
- "./docs/AddressGetServersResponse.md"
|
|
207
208
|
- "./docs/AddressVerifySyntaxOnlyResponse.md"
|
|
208
209
|
- "./docs/CheckResponse.md"
|
|
@@ -219,21 +220,40 @@ files:
|
|
|
219
220
|
- "./docs/IPAddressApi.md"
|
|
220
221
|
- "./docs/LastNameValidationRequest.md"
|
|
221
222
|
- "./docs/LastNameValidationResponse.md"
|
|
223
|
+
- "./docs/LeadEnrichmentApi.md"
|
|
224
|
+
- "./docs/LeadEnrichmentRequest.md"
|
|
225
|
+
- "./docs/LeadEnrichmentResponse.md"
|
|
222
226
|
- "./docs/NameApi.md"
|
|
227
|
+
- "./docs/ParseAddressRequest.md"
|
|
228
|
+
- "./docs/ParseAddressResponse.md"
|
|
223
229
|
- "./docs/PhoneNumberApi.md"
|
|
224
230
|
- "./docs/PhoneNumberValidateRequest.md"
|
|
225
231
|
- "./docs/PhoneNumberValidationResponse.md"
|
|
232
|
+
- "./docs/UserAgentApi.md"
|
|
233
|
+
- "./docs/UserAgentValidateRequest.md"
|
|
234
|
+
- "./docs/UserAgentValidateResponse.md"
|
|
235
|
+
- "./docs/ValidateCountryRequest.md"
|
|
236
|
+
- "./docs/ValidateCountryResponse.md"
|
|
237
|
+
- "./docs/ValidateIdentifierRequest.md"
|
|
238
|
+
- "./docs/ValidateIdentifierResponse.md"
|
|
239
|
+
- "./docs/ValidateUrlRequestFull.md"
|
|
240
|
+
- "./docs/ValidateUrlRequestSyntaxOnly.md"
|
|
241
|
+
- "./docs/ValidateUrlResponseFull.md"
|
|
242
|
+
- "./docs/ValidateUrlResponseSyntaxOnly.md"
|
|
226
243
|
- "./docs/VatApi.md"
|
|
227
244
|
- "./docs/VatLookupRequest.md"
|
|
228
245
|
- "./docs/VatLookupResponse.md"
|
|
229
246
|
- "./docs/WhoisResponse.md"
|
|
230
247
|
- "./git_push.sh"
|
|
231
248
|
- "./lib/cloudmersive-validate-api-client.rb"
|
|
249
|
+
- "./lib/cloudmersive-validate-api-client/api/address_api.rb"
|
|
232
250
|
- "./lib/cloudmersive-validate-api-client/api/domain_api.rb"
|
|
233
251
|
- "./lib/cloudmersive-validate-api-client/api/email_api.rb"
|
|
234
252
|
- "./lib/cloudmersive-validate-api-client/api/ip_address_api.rb"
|
|
253
|
+
- "./lib/cloudmersive-validate-api-client/api/lead_enrichment_api.rb"
|
|
235
254
|
- "./lib/cloudmersive-validate-api-client/api/name_api.rb"
|
|
236
255
|
- "./lib/cloudmersive-validate-api-client/api/phone_number_api.rb"
|
|
256
|
+
- "./lib/cloudmersive-validate-api-client/api/user_agent_api.rb"
|
|
237
257
|
- "./lib/cloudmersive-validate-api-client/api/vat_api.rb"
|
|
238
258
|
- "./lib/cloudmersive-validate-api-client/api_client.rb"
|
|
239
259
|
- "./lib/cloudmersive-validate-api-client/api_error.rb"
|
|
@@ -251,17 +271,34 @@ files:
|
|
|
251
271
|
- "./lib/cloudmersive-validate-api-client/models/get_gender_response.rb"
|
|
252
272
|
- "./lib/cloudmersive-validate-api-client/models/last_name_validation_request.rb"
|
|
253
273
|
- "./lib/cloudmersive-validate-api-client/models/last_name_validation_response.rb"
|
|
274
|
+
- "./lib/cloudmersive-validate-api-client/models/lead_enrichment_request.rb"
|
|
275
|
+
- "./lib/cloudmersive-validate-api-client/models/lead_enrichment_response.rb"
|
|
276
|
+
- "./lib/cloudmersive-validate-api-client/models/parse_address_request.rb"
|
|
277
|
+
- "./lib/cloudmersive-validate-api-client/models/parse_address_response.rb"
|
|
254
278
|
- "./lib/cloudmersive-validate-api-client/models/phone_number_validate_request.rb"
|
|
255
279
|
- "./lib/cloudmersive-validate-api-client/models/phone_number_validation_response.rb"
|
|
280
|
+
- "./lib/cloudmersive-validate-api-client/models/user_agent_validate_request.rb"
|
|
281
|
+
- "./lib/cloudmersive-validate-api-client/models/user_agent_validate_response.rb"
|
|
282
|
+
- "./lib/cloudmersive-validate-api-client/models/validate_country_request.rb"
|
|
283
|
+
- "./lib/cloudmersive-validate-api-client/models/validate_country_response.rb"
|
|
284
|
+
- "./lib/cloudmersive-validate-api-client/models/validate_identifier_request.rb"
|
|
285
|
+
- "./lib/cloudmersive-validate-api-client/models/validate_identifier_response.rb"
|
|
286
|
+
- "./lib/cloudmersive-validate-api-client/models/validate_url_request_full.rb"
|
|
287
|
+
- "./lib/cloudmersive-validate-api-client/models/validate_url_request_syntax_only.rb"
|
|
288
|
+
- "./lib/cloudmersive-validate-api-client/models/validate_url_response_full.rb"
|
|
289
|
+
- "./lib/cloudmersive-validate-api-client/models/validate_url_response_syntax_only.rb"
|
|
256
290
|
- "./lib/cloudmersive-validate-api-client/models/vat_lookup_request.rb"
|
|
257
291
|
- "./lib/cloudmersive-validate-api-client/models/vat_lookup_response.rb"
|
|
258
292
|
- "./lib/cloudmersive-validate-api-client/models/whois_response.rb"
|
|
259
293
|
- "./lib/cloudmersive-validate-api-client/version.rb"
|
|
294
|
+
- "./spec/api/address_api_spec.rb"
|
|
260
295
|
- "./spec/api/domain_api_spec.rb"
|
|
261
296
|
- "./spec/api/email_api_spec.rb"
|
|
262
297
|
- "./spec/api/ip_address_api_spec.rb"
|
|
298
|
+
- "./spec/api/lead_enrichment_api_spec.rb"
|
|
263
299
|
- "./spec/api/name_api_spec.rb"
|
|
264
300
|
- "./spec/api/phone_number_api_spec.rb"
|
|
301
|
+
- "./spec/api/user_agent_api_spec.rb"
|
|
265
302
|
- "./spec/api/vat_api_spec.rb"
|
|
266
303
|
- "./spec/api_client_spec.rb"
|
|
267
304
|
- "./spec/configuration_spec.rb"
|
|
@@ -278,8 +315,22 @@ files:
|
|
|
278
315
|
- "./spec/models/get_gender_response_spec.rb"
|
|
279
316
|
- "./spec/models/last_name_validation_request_spec.rb"
|
|
280
317
|
- "./spec/models/last_name_validation_response_spec.rb"
|
|
318
|
+
- "./spec/models/lead_enrichment_request_spec.rb"
|
|
319
|
+
- "./spec/models/lead_enrichment_response_spec.rb"
|
|
320
|
+
- "./spec/models/parse_address_request_spec.rb"
|
|
321
|
+
- "./spec/models/parse_address_response_spec.rb"
|
|
281
322
|
- "./spec/models/phone_number_validate_request_spec.rb"
|
|
282
323
|
- "./spec/models/phone_number_validation_response_spec.rb"
|
|
324
|
+
- "./spec/models/user_agent_validate_request_spec.rb"
|
|
325
|
+
- "./spec/models/user_agent_validate_response_spec.rb"
|
|
326
|
+
- "./spec/models/validate_country_request_spec.rb"
|
|
327
|
+
- "./spec/models/validate_country_response_spec.rb"
|
|
328
|
+
- "./spec/models/validate_identifier_request_spec.rb"
|
|
329
|
+
- "./spec/models/validate_identifier_response_spec.rb"
|
|
330
|
+
- "./spec/models/validate_url_request_full_spec.rb"
|
|
331
|
+
- "./spec/models/validate_url_request_syntax_only_spec.rb"
|
|
332
|
+
- "./spec/models/validate_url_response_full_spec.rb"
|
|
333
|
+
- "./spec/models/validate_url_response_syntax_only_spec.rb"
|
|
283
334
|
- "./spec/models/vat_lookup_request_spec.rb"
|
|
284
335
|
- "./spec/models/vat_lookup_response_spec.rb"
|
|
285
336
|
- "./spec/models/whois_response_spec.rb"
|
|
@@ -303,8 +354,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
303
354
|
- !ruby/object:Gem::Version
|
|
304
355
|
version: '0'
|
|
305
356
|
requirements: []
|
|
306
|
-
|
|
307
|
-
rubygems_version: 2.7.6
|
|
357
|
+
rubygems_version: 3.0.3
|
|
308
358
|
signing_key:
|
|
309
359
|
specification_version: 4
|
|
310
360
|
summary: Validate key business data thoroughly.
|