cloudmersive-validate-api-client 1.4.2 → 2.0.5

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.
Files changed (137) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +22 -7
  4. data/cloudmersive-validate-api-client.gemspec +3 -3
  5. data/docs/AddressApi.md +270 -1
  6. data/docs/CountryDetails.md +11 -0
  7. data/docs/CountryListResult.md +9 -0
  8. data/docs/DomainApi.md +2 -2
  9. data/docs/EmailApi.md +3 -3
  10. data/docs/IPAddressApi.md +56 -1
  11. data/docs/TorNodeResponse.md +8 -0
  12. data/docs/ValidateCityRequest.md +11 -0
  13. data/docs/ValidateCityResponse.md +12 -0
  14. data/docs/ValidateCountryResponse.md +1 -0
  15. data/docs/ValidatePostalCodeRequest.md +10 -0
  16. data/docs/ValidatePostalCodeResponse.md +12 -0
  17. data/docs/ValidateStateRequest.md +10 -0
  18. data/docs/ValidateStateResponse.md +11 -0
  19. data/lib/cloudmersive-validate-api-client.rb +10 -1
  20. data/lib/cloudmersive-validate-api-client/api/address_api.rb +276 -18
  21. data/lib/cloudmersive-validate-api-client/api/domain_api.rb +14 -18
  22. data/lib/cloudmersive-validate-api-client/api/email_api.rb +11 -14
  23. data/lib/cloudmersive-validate-api-client/api/ip_address_api.rb +58 -5
  24. data/lib/cloudmersive-validate-api-client/api/lead_enrichment_api.rb +5 -8
  25. data/lib/cloudmersive-validate-api-client/api/name_api.rb +17 -22
  26. data/lib/cloudmersive-validate-api-client/api/phone_number_api.rb +5 -6
  27. data/lib/cloudmersive-validate-api-client/api/user_agent_api.rb +5 -6
  28. data/lib/cloudmersive-validate-api-client/api/vat_api.rb +5 -6
  29. data/lib/cloudmersive-validate-api-client/api_client.rb +11 -9
  30. data/lib/cloudmersive-validate-api-client/api_error.rb +1 -1
  31. data/lib/cloudmersive-validate-api-client/configuration.rb +2 -2
  32. data/lib/cloudmersive-validate-api-client/models/address_get_servers_response.rb +7 -10
  33. data/lib/cloudmersive-validate-api-client/models/address_verify_syntax_only_response.rb +7 -10
  34. data/lib/cloudmersive-validate-api-client/models/check_response.rb +7 -10
  35. data/lib/cloudmersive-validate-api-client/models/country_details.rb +216 -0
  36. data/lib/cloudmersive-validate-api-client/models/country_list_result.rb +198 -0
  37. data/lib/cloudmersive-validate-api-client/models/first_name_validation_request.rb +7 -10
  38. data/lib/cloudmersive-validate-api-client/models/first_name_validation_response.rb +7 -10
  39. data/lib/cloudmersive-validate-api-client/models/full_email_validation_response.rb +7 -10
  40. data/lib/cloudmersive-validate-api-client/models/full_name_validation_request.rb +7 -10
  41. data/lib/cloudmersive-validate-api-client/models/full_name_validation_response.rb +7 -10
  42. data/lib/cloudmersive-validate-api-client/models/geolocate_response.rb +7 -10
  43. data/lib/cloudmersive-validate-api-client/models/get_gender_request.rb +7 -10
  44. data/lib/cloudmersive-validate-api-client/models/get_gender_response.rb +7 -10
  45. data/lib/cloudmersive-validate-api-client/models/get_timezones_request.rb +7 -10
  46. data/lib/cloudmersive-validate-api-client/models/get_timezones_response.rb +7 -10
  47. data/lib/cloudmersive-validate-api-client/models/last_name_validation_request.rb +7 -10
  48. data/lib/cloudmersive-validate-api-client/models/last_name_validation_response.rb +7 -10
  49. data/lib/cloudmersive-validate-api-client/models/lead_enrichment_request.rb +7 -10
  50. data/lib/cloudmersive-validate-api-client/models/lead_enrichment_response.rb +7 -10
  51. data/lib/cloudmersive-validate-api-client/models/parse_address_request.rb +7 -10
  52. data/lib/cloudmersive-validate-api-client/models/parse_address_response.rb +7 -10
  53. data/lib/cloudmersive-validate-api-client/models/phone_number_validate_request.rb +7 -10
  54. data/lib/cloudmersive-validate-api-client/models/phone_number_validation_response.rb +7 -10
  55. data/lib/cloudmersive-validate-api-client/models/timezone.rb +7 -10
  56. data/lib/cloudmersive-validate-api-client/models/tor_node_response.rb +186 -0
  57. data/lib/cloudmersive-validate-api-client/models/user_agent_validate_request.rb +7 -10
  58. data/lib/cloudmersive-validate-api-client/models/user_agent_validate_response.rb +7 -10
  59. data/lib/cloudmersive-validate-api-client/models/validate_address_request.rb +7 -10
  60. data/lib/cloudmersive-validate-api-client/models/validate_address_response.rb +7 -10
  61. data/lib/cloudmersive-validate-api-client/models/validate_city_request.rb +216 -0
  62. data/lib/cloudmersive-validate-api-client/models/validate_city_response.rb +226 -0
  63. data/lib/cloudmersive-validate-api-client/models/validate_country_request.rb +7 -10
  64. data/lib/cloudmersive-validate-api-client/models/validate_country_response.rb +18 -11
  65. data/lib/cloudmersive-validate-api-client/models/validate_identifier_request.rb +7 -10
  66. data/lib/cloudmersive-validate-api-client/models/validate_identifier_response.rb +7 -10
  67. data/lib/cloudmersive-validate-api-client/models/validate_postal_code_request.rb +206 -0
  68. data/lib/cloudmersive-validate-api-client/models/validate_postal_code_response.rb +226 -0
  69. data/lib/cloudmersive-validate-api-client/models/validate_state_request.rb +206 -0
  70. data/lib/cloudmersive-validate-api-client/models/validate_state_response.rb +216 -0
  71. data/lib/cloudmersive-validate-api-client/models/validate_url_request_full.rb +7 -10
  72. data/lib/cloudmersive-validate-api-client/models/validate_url_request_syntax_only.rb +7 -10
  73. data/lib/cloudmersive-validate-api-client/models/validate_url_response_full.rb +7 -10
  74. data/lib/cloudmersive-validate-api-client/models/validate_url_response_syntax_only.rb +7 -10
  75. data/lib/cloudmersive-validate-api-client/models/vat_lookup_request.rb +7 -10
  76. data/lib/cloudmersive-validate-api-client/models/vat_lookup_response.rb +7 -11
  77. data/lib/cloudmersive-validate-api-client/models/whois_response.rb +7 -10
  78. data/lib/cloudmersive-validate-api-client/version.rb +2 -2
  79. data/spec/api/address_api_spec.rb +65 -6
  80. data/spec/api/domain_api_spec.rb +5 -5
  81. data/spec/api/email_api_spec.rb +4 -4
  82. data/spec/api/ip_address_api_spec.rb +14 -2
  83. data/spec/api/lead_enrichment_api_spec.rb +2 -3
  84. data/spec/api/name_api_spec.rb +6 -6
  85. data/spec/api/phone_number_api_spec.rb +2 -2
  86. data/spec/api/user_agent_api_spec.rb +2 -2
  87. data/spec/api/vat_api_spec.rb +2 -2
  88. data/spec/api_client_spec.rb +52 -35
  89. data/spec/configuration_spec.rb +9 -9
  90. data/spec/models/address_get_servers_response_spec.rb +3 -4
  91. data/spec/models/address_verify_syntax_only_response_spec.rb +5 -6
  92. data/spec/models/check_response_spec.rb +2 -3
  93. data/spec/models/country_details_spec.rb +59 -0
  94. data/spec/models/country_list_result_spec.rb +47 -0
  95. data/spec/models/first_name_validation_request_spec.rb +2 -3
  96. data/spec/models/first_name_validation_response_spec.rb +3 -4
  97. data/spec/models/full_email_validation_response_spec.rb +10 -11
  98. data/spec/models/full_name_validation_request_spec.rb +2 -3
  99. data/spec/models/full_name_validation_response_spec.rb +11 -12
  100. data/spec/models/geolocate_response_spec.rb +10 -11
  101. data/spec/models/get_gender_request_spec.rb +3 -4
  102. data/spec/models/get_gender_response_spec.rb +3 -4
  103. data/spec/models/get_timezones_request_spec.rb +2 -3
  104. data/spec/models/get_timezones_response_spec.rb +7 -8
  105. data/spec/models/last_name_validation_request_spec.rb +2 -3
  106. data/spec/models/last_name_validation_response_spec.rb +3 -4
  107. data/spec/models/lead_enrichment_request_spec.rb +15 -16
  108. data/spec/models/lead_enrichment_response_spec.rb +19 -20
  109. data/spec/models/parse_address_request_spec.rb +3 -4
  110. data/spec/models/parse_address_response_spec.rb +10 -11
  111. data/spec/models/phone_number_validate_request_spec.rb +3 -4
  112. data/spec/models/phone_number_validation_response_spec.rb +9 -10
  113. data/spec/models/timezone_spec.rb +4 -5
  114. data/spec/models/tor_node_response_spec.rb +41 -0
  115. data/spec/models/user_agent_validate_request_spec.rb +2 -3
  116. data/spec/models/user_agent_validate_response_spec.rb +15 -16
  117. data/spec/models/validate_address_request_spec.rb +7 -8
  118. data/spec/models/validate_address_response_spec.rb +4 -5
  119. data/spec/models/validate_city_request_spec.rb +59 -0
  120. data/spec/models/validate_city_response_spec.rb +65 -0
  121. data/spec/models/validate_country_request_spec.rb +2 -3
  122. data/spec/models/validate_country_response_spec.rb +13 -8
  123. data/spec/models/validate_identifier_request_spec.rb +9 -10
  124. data/spec/models/validate_identifier_response_spec.rb +3 -4
  125. data/spec/models/validate_postal_code_request_spec.rb +53 -0
  126. data/spec/models/validate_postal_code_response_spec.rb +65 -0
  127. data/spec/models/validate_state_request_spec.rb +53 -0
  128. data/spec/models/validate_state_response_spec.rb +59 -0
  129. data/spec/models/validate_url_request_full_spec.rb +2 -3
  130. data/spec/models/validate_url_request_syntax_only_spec.rb +2 -3
  131. data/spec/models/validate_url_response_full_spec.rb +6 -7
  132. data/spec/models/validate_url_response_syntax_only_spec.rb +3 -4
  133. data/spec/models/vat_lookup_request_spec.rb +2 -3
  134. data/spec/models/vat_lookup_response_spec.rb +13 -14
  135. data/spec/models/whois_response_spec.rb +16 -17
  136. data/spec/spec_helper.rb +1 -1
  137. metadata +29 -2
@@ -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: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -34,21 +34,20 @@ describe 'ValidateAddressResponse' do
34
34
  end
35
35
  describe 'test attribute "valid_address"' do
36
36
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
41
  describe 'test attribute "latitude"' do
42
42
  it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
47
  describe 'test attribute "longitude"' do
48
48
  it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
53
  end
54
-
@@ -0,0 +1,59 @@
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.4.14
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveValidateApiClient::ValidateCityRequest
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'ValidateCityRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::ValidateCityRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ValidateCityRequest' do
31
+ it 'should create an instance of ValidateCityRequest' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::ValidateCityRequest)
33
+ end
34
+ end
35
+ describe 'test attribute "city"' 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 "state_or_province"' 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 "country_full_name"' 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 "country_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
+ end
@@ -0,0 +1,65 @@
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.4.14
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveValidateApiClient::ValidateCityResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'ValidateCityResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::ValidateCityResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ValidateCityResponse' do
31
+ it 'should create an instance of ValidateCityResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::ValidateCityResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "valid_city"' 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 "city"' 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 "state_or_province"' 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 "latitude"' 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 "longitude"' 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
@@ -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: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -34,9 +34,8 @@ describe 'ValidateCountryRequest' do
34
34
  end
35
35
  describe 'test attribute "raw_country_input"' do
36
36
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
41
  end
42
-
@@ -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: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -34,39 +34,44 @@ describe 'ValidateCountryResponse' do
34
34
  end
35
35
  describe 'test attribute "successful"' do
36
36
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
41
  describe 'test attribute "country_full_name"' do
42
42
  it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
47
  describe 'test attribute "iso_two_letter_code"' do
48
48
  it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
53
  describe 'test attribute "fips_two_letter_code"' do
54
54
  it 'should work' do
55
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
57
57
  end
58
58
 
59
59
  describe 'test attribute "three_letter_code"' do
60
60
  it 'should work' do
61
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "is_european_union_member"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
68
  end
63
69
  end
64
70
 
65
71
  describe 'test attribute "timezones"' do
66
72
  it 'should work' do
67
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
74
  end
69
75
  end
70
76
 
71
77
  end
72
-
@@ -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: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -34,51 +34,50 @@ describe 'ValidateIdentifierRequest' do
34
34
  end
35
35
  describe 'test attribute "input"' do
36
36
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
41
  describe 'test attribute "allow_whitespace"' do
42
42
  it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
47
  describe 'test attribute "allow_hyphens"' do
48
48
  it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
53
  describe 'test attribute "allow_underscore"' do
54
54
  it 'should work' do
55
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
57
57
  end
58
58
 
59
59
  describe 'test attribute "allow_numbers"' do
60
60
  it 'should work' do
61
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
62
  end
63
63
  end
64
64
 
65
65
  describe 'test attribute "allow_periods"' do
66
66
  it 'should work' do
67
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
68
  end
69
69
  end
70
70
 
71
71
  describe 'test attribute "max_length"' do
72
72
  it 'should work' do
73
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
74
  end
75
75
  end
76
76
 
77
77
  describe 'test attribute "min_length"' do
78
78
  it 'should work' do
79
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
80
  end
81
81
  end
82
82
 
83
83
  end
84
-
@@ -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: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -34,15 +34,14 @@ describe 'ValidateIdentifierResponse' do
34
34
  end
35
35
  describe 'test attribute "valid_identifier"' do
36
36
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
41
  describe 'test attribute "error"' do
42
42
  it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
47
  end
48
-
@@ -0,0 +1,53 @@
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.4.14
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveValidateApiClient::ValidatePostalCodeRequest
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'ValidatePostalCodeRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::ValidatePostalCodeRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ValidatePostalCodeRequest' do
31
+ it 'should create an instance of ValidatePostalCodeRequest' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::ValidatePostalCodeRequest)
33
+ end
34
+ end
35
+ describe 'test attribute "postal_code"' 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 "country_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
+ end
@@ -0,0 +1,65 @@
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.4.14
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveValidateApiClient::ValidatePostalCodeResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'ValidatePostalCodeResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::ValidatePostalCodeResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ValidatePostalCodeResponse' do
31
+ it 'should create an instance of ValidatePostalCodeResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::ValidatePostalCodeResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "valid_postal_code"' 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 "city"' 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 "state_or_province"' 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 "latitude"' 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 "longitude"' 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