cloudmersive-validate-api-client 1.3.6 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +25 -9
- data/cloudmersive-validate-api-client.gemspec +1 -1
- data/docs/AddressApi.md +166 -1
- data/docs/AddressGetServersResponse.md +2 -2
- data/docs/AddressVerifySyntaxOnlyResponse.md +3 -0
- data/docs/DomainApi.md +8 -8
- data/docs/EmailApi.md +3 -3
- data/docs/GetTimezonesRequest.md +8 -0
- data/docs/GetTimezonesResponse.md +13 -0
- 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/ParseAddressResponse.md +2 -1
- data/docs/PhoneNumberApi.md +1 -1
- data/docs/Timezone.md +10 -0
- data/docs/UserAgentApi.md +1 -1
- data/docs/ValidateAddressRequest.md +13 -0
- data/docs/ValidateAddressResponse.md +10 -0
- data/docs/ValidateCountryRequest.md +8 -0
- data/docs/ValidateCountryResponse.md +13 -0
- data/docs/ValidateIdentifierRequest.md +15 -0
- data/docs/ValidateIdentifierResponse.md +9 -0
- data/docs/ValidateUrlRequestFull.md +1 -1
- data/docs/ValidateUrlRequestSyntaxOnly.md +1 -1
- data/docs/VatApi.md +5 -5
- 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 +13 -1
- data/lib/cloudmersive-validate-api-client/api/address_api.rb +167 -2
- data/lib/cloudmersive-validate-api-client/api/domain_api.rb +9 -9
- 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 +2 -2
- data/lib/cloudmersive-validate-api-client/api/vat_api.rb +6 -6
- 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/get_timezones_request.rb +189 -0
- data/lib/cloudmersive-validate-api-client/models/get_timezones_response.rb +241 -0
- 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 +1 -1
- data/lib/cloudmersive-validate-api-client/models/parse_address_response.rb +18 -8
- 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/timezone.rb +209 -0
- data/lib/cloudmersive-validate-api-client/models/user_agent_validate_request.rb +1 -1
- data/lib/cloudmersive-validate-api-client/models/user_agent_validate_response.rb +1 -1
- data/lib/cloudmersive-validate-api-client/models/validate_address_request.rb +239 -0
- data/lib/cloudmersive-validate-api-client/models/validate_address_response.rb +209 -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 +241 -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 +2 -1
- data/lib/cloudmersive-validate-api-client/models/validate_url_request_syntax_only.rb +2 -1
- data/lib/cloudmersive-validate-api-client/models/validate_url_response_full.rb +1 -1
- data/lib/cloudmersive-validate-api-client/models/validate_url_response_syntax_only.rb +1 -1
- 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 +37 -1
- data/spec/api/domain_api_spec.rb +3 -3
- 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 +1 -1
- data/spec/api/vat_api_spec.rb +3 -3
- 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/get_timezones_request_spec.rb +42 -0
- data/spec/models/get_timezones_response_spec.rb +72 -0
- 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 +1 -1
- data/spec/models/parse_address_response_spec.rb +8 -2
- 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/timezone_spec.rb +54 -0
- data/spec/models/user_agent_validate_request_spec.rb +1 -1
- data/spec/models/user_agent_validate_response_spec.rb +1 -1
- data/spec/models/validate_address_request_spec.rb +72 -0
- data/spec/models/validate_address_response_spec.rb +54 -0
- data/spec/models/validate_country_request_spec.rb +42 -0
- data/spec/models/validate_country_response_spec.rb +72 -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 +1 -1
- data/spec/models/validate_url_request_syntax_only_spec.rb +1 -1
- data/spec/models/validate_url_response_full_spec.rb +1 -1
- data/spec/models/validate_url_response_syntax_only_spec.rb +1 -1
- 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 +51 -16
@@ -0,0 +1,72 @@
|
|
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::ValidateCountryResponse
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ValidateCountryResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveValidateApiClient::ValidateCountryResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ValidateCountryResponse' do
|
31
|
+
it 'should create an instance of ValidateCountryResponse' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::ValidateCountryResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "successful"' 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 "country_full_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 "iso_two_letter_code"' 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 "fips_two_letter_code"' 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 "three_letter_code"' 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 "timezones"' 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
|
+
end
|
72
|
+
|
@@ -0,0 +1,84 @@
|
|
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::ValidateIdentifierRequest
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ValidateIdentifierRequest' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveValidateApiClient::ValidateIdentifierRequest.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ValidateIdentifierRequest' do
|
31
|
+
it 'should create an instance of ValidateIdentifierRequest' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::ValidateIdentifierRequest)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "input"' 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 "allow_whitespace"' 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 "allow_hyphens"' 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 "allow_underscore"' 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 "allow_numbers"' 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 "allow_periods"' 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 "max_length"' 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 "min_length"' 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
|
+
end
|
84
|
+
|
@@ -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
|
+
|
@@ -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.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cloudmersive
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-09 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
|
@@ -217,18 +217,30 @@ files:
|
|
217
217
|
- "./docs/GeolocateResponse.md"
|
218
218
|
- "./docs/GetGenderRequest.md"
|
219
219
|
- "./docs/GetGenderResponse.md"
|
220
|
+
- "./docs/GetTimezonesRequest.md"
|
221
|
+
- "./docs/GetTimezonesResponse.md"
|
220
222
|
- "./docs/IPAddressApi.md"
|
221
223
|
- "./docs/LastNameValidationRequest.md"
|
222
224
|
- "./docs/LastNameValidationResponse.md"
|
225
|
+
- "./docs/LeadEnrichmentApi.md"
|
226
|
+
- "./docs/LeadEnrichmentRequest.md"
|
227
|
+
- "./docs/LeadEnrichmentResponse.md"
|
223
228
|
- "./docs/NameApi.md"
|
224
229
|
- "./docs/ParseAddressRequest.md"
|
225
230
|
- "./docs/ParseAddressResponse.md"
|
226
231
|
- "./docs/PhoneNumberApi.md"
|
227
232
|
- "./docs/PhoneNumberValidateRequest.md"
|
228
233
|
- "./docs/PhoneNumberValidationResponse.md"
|
234
|
+
- "./docs/Timezone.md"
|
229
235
|
- "./docs/UserAgentApi.md"
|
230
236
|
- "./docs/UserAgentValidateRequest.md"
|
231
237
|
- "./docs/UserAgentValidateResponse.md"
|
238
|
+
- "./docs/ValidateAddressRequest.md"
|
239
|
+
- "./docs/ValidateAddressResponse.md"
|
240
|
+
- "./docs/ValidateCountryRequest.md"
|
241
|
+
- "./docs/ValidateCountryResponse.md"
|
242
|
+
- "./docs/ValidateIdentifierRequest.md"
|
243
|
+
- "./docs/ValidateIdentifierResponse.md"
|
232
244
|
- "./docs/ValidateUrlRequestFull.md"
|
233
245
|
- "./docs/ValidateUrlRequestSyntaxOnly.md"
|
234
246
|
- "./docs/ValidateUrlResponseFull.md"
|
@@ -243,6 +255,7 @@ files:
|
|
243
255
|
- "./lib/cloudmersive-validate-api-client/api/domain_api.rb"
|
244
256
|
- "./lib/cloudmersive-validate-api-client/api/email_api.rb"
|
245
257
|
- "./lib/cloudmersive-validate-api-client/api/ip_address_api.rb"
|
258
|
+
- "./lib/cloudmersive-validate-api-client/api/lead_enrichment_api.rb"
|
246
259
|
- "./lib/cloudmersive-validate-api-client/api/name_api.rb"
|
247
260
|
- "./lib/cloudmersive-validate-api-client/api/phone_number_api.rb"
|
248
261
|
- "./lib/cloudmersive-validate-api-client/api/user_agent_api.rb"
|
@@ -261,14 +274,25 @@ files:
|
|
261
274
|
- "./lib/cloudmersive-validate-api-client/models/geolocate_response.rb"
|
262
275
|
- "./lib/cloudmersive-validate-api-client/models/get_gender_request.rb"
|
263
276
|
- "./lib/cloudmersive-validate-api-client/models/get_gender_response.rb"
|
277
|
+
- "./lib/cloudmersive-validate-api-client/models/get_timezones_request.rb"
|
278
|
+
- "./lib/cloudmersive-validate-api-client/models/get_timezones_response.rb"
|
264
279
|
- "./lib/cloudmersive-validate-api-client/models/last_name_validation_request.rb"
|
265
280
|
- "./lib/cloudmersive-validate-api-client/models/last_name_validation_response.rb"
|
281
|
+
- "./lib/cloudmersive-validate-api-client/models/lead_enrichment_request.rb"
|
282
|
+
- "./lib/cloudmersive-validate-api-client/models/lead_enrichment_response.rb"
|
266
283
|
- "./lib/cloudmersive-validate-api-client/models/parse_address_request.rb"
|
267
284
|
- "./lib/cloudmersive-validate-api-client/models/parse_address_response.rb"
|
268
285
|
- "./lib/cloudmersive-validate-api-client/models/phone_number_validate_request.rb"
|
269
286
|
- "./lib/cloudmersive-validate-api-client/models/phone_number_validation_response.rb"
|
287
|
+
- "./lib/cloudmersive-validate-api-client/models/timezone.rb"
|
270
288
|
- "./lib/cloudmersive-validate-api-client/models/user_agent_validate_request.rb"
|
271
289
|
- "./lib/cloudmersive-validate-api-client/models/user_agent_validate_response.rb"
|
290
|
+
- "./lib/cloudmersive-validate-api-client/models/validate_address_request.rb"
|
291
|
+
- "./lib/cloudmersive-validate-api-client/models/validate_address_response.rb"
|
292
|
+
- "./lib/cloudmersive-validate-api-client/models/validate_country_request.rb"
|
293
|
+
- "./lib/cloudmersive-validate-api-client/models/validate_country_response.rb"
|
294
|
+
- "./lib/cloudmersive-validate-api-client/models/validate_identifier_request.rb"
|
295
|
+
- "./lib/cloudmersive-validate-api-client/models/validate_identifier_response.rb"
|
272
296
|
- "./lib/cloudmersive-validate-api-client/models/validate_url_request_full.rb"
|
273
297
|
- "./lib/cloudmersive-validate-api-client/models/validate_url_request_syntax_only.rb"
|
274
298
|
- "./lib/cloudmersive-validate-api-client/models/validate_url_response_full.rb"
|
@@ -281,6 +305,7 @@ files:
|
|
281
305
|
- "./spec/api/domain_api_spec.rb"
|
282
306
|
- "./spec/api/email_api_spec.rb"
|
283
307
|
- "./spec/api/ip_address_api_spec.rb"
|
308
|
+
- "./spec/api/lead_enrichment_api_spec.rb"
|
284
309
|
- "./spec/api/name_api_spec.rb"
|
285
310
|
- "./spec/api/phone_number_api_spec.rb"
|
286
311
|
- "./spec/api/user_agent_api_spec.rb"
|
@@ -298,14 +323,25 @@ files:
|
|
298
323
|
- "./spec/models/geolocate_response_spec.rb"
|
299
324
|
- "./spec/models/get_gender_request_spec.rb"
|
300
325
|
- "./spec/models/get_gender_response_spec.rb"
|
326
|
+
- "./spec/models/get_timezones_request_spec.rb"
|
327
|
+
- "./spec/models/get_timezones_response_spec.rb"
|
301
328
|
- "./spec/models/last_name_validation_request_spec.rb"
|
302
329
|
- "./spec/models/last_name_validation_response_spec.rb"
|
330
|
+
- "./spec/models/lead_enrichment_request_spec.rb"
|
331
|
+
- "./spec/models/lead_enrichment_response_spec.rb"
|
303
332
|
- "./spec/models/parse_address_request_spec.rb"
|
304
333
|
- "./spec/models/parse_address_response_spec.rb"
|
305
334
|
- "./spec/models/phone_number_validate_request_spec.rb"
|
306
335
|
- "./spec/models/phone_number_validation_response_spec.rb"
|
336
|
+
- "./spec/models/timezone_spec.rb"
|
307
337
|
- "./spec/models/user_agent_validate_request_spec.rb"
|
308
338
|
- "./spec/models/user_agent_validate_response_spec.rb"
|
339
|
+
- "./spec/models/validate_address_request_spec.rb"
|
340
|
+
- "./spec/models/validate_address_response_spec.rb"
|
341
|
+
- "./spec/models/validate_country_request_spec.rb"
|
342
|
+
- "./spec/models/validate_country_response_spec.rb"
|
343
|
+
- "./spec/models/validate_identifier_request_spec.rb"
|
344
|
+
- "./spec/models/validate_identifier_response_spec.rb"
|
309
345
|
- "./spec/models/validate_url_request_full_spec.rb"
|
310
346
|
- "./spec/models/validate_url_request_syntax_only_spec.rb"
|
311
347
|
- "./spec/models/validate_url_response_full_spec.rb"
|
@@ -333,8 +369,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
333
369
|
- !ruby/object:Gem::Version
|
334
370
|
version: '0'
|
335
371
|
requirements: []
|
336
|
-
|
337
|
-
rubygems_version: 2.7.6
|
372
|
+
rubygems_version: 3.0.3
|
338
373
|
signing_key:
|
339
374
|
specification_version: 4
|
340
375
|
summary: Validate key business data thoroughly.
|