cloudmersive-validate-api-client 1.4.2 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. checksums.yaml +4 -4
  2. metadata +3 -154
  3. data/Gemfile +0 -7
  4. data/README.md +0 -158
  5. data/Rakefile +0 -8
  6. data/cloudmersive-validate-api-client.gemspec +0 -45
  7. data/docs/AddressApi.md +0 -228
  8. data/docs/AddressGetServersResponse.md +0 -9
  9. data/docs/AddressVerifySyntaxOnlyResponse.md +0 -11
  10. data/docs/CheckResponse.md +0 -8
  11. data/docs/DomainApi.md +0 -228
  12. data/docs/EmailApi.md +0 -173
  13. data/docs/FirstNameValidationRequest.md +0 -8
  14. data/docs/FirstNameValidationResponse.md +0 -9
  15. data/docs/FullEmailValidationResponse.md +0 -16
  16. data/docs/FullNameValidationRequest.md +0 -8
  17. data/docs/FullNameValidationResponse.md +0 -17
  18. data/docs/GeolocateResponse.md +0 -16
  19. data/docs/GetGenderRequest.md +0 -9
  20. data/docs/GetGenderResponse.md +0 -9
  21. data/docs/GetTimezonesRequest.md +0 -8
  22. data/docs/GetTimezonesResponse.md +0 -13
  23. data/docs/IPAddressApi.md +0 -63
  24. data/docs/LastNameValidationRequest.md +0 -8
  25. data/docs/LastNameValidationResponse.md +0 -9
  26. data/docs/LeadEnrichmentApi.md +0 -61
  27. data/docs/LeadEnrichmentRequest.md +0 -21
  28. data/docs/LeadEnrichmentResponse.md +0 -25
  29. data/docs/NameApi.md +0 -283
  30. data/docs/ParseAddressRequest.md +0 -9
  31. data/docs/ParseAddressResponse.md +0 -16
  32. data/docs/PhoneNumberApi.md +0 -63
  33. data/docs/PhoneNumberValidateRequest.md +0 -9
  34. data/docs/PhoneNumberValidationResponse.md +0 -15
  35. data/docs/Timezone.md +0 -10
  36. data/docs/UserAgentApi.md +0 -63
  37. data/docs/UserAgentValidateRequest.md +0 -8
  38. data/docs/UserAgentValidateResponse.md +0 -21
  39. data/docs/ValidateAddressRequest.md +0 -13
  40. data/docs/ValidateAddressResponse.md +0 -10
  41. data/docs/ValidateCountryRequest.md +0 -8
  42. data/docs/ValidateCountryResponse.md +0 -13
  43. data/docs/ValidateIdentifierRequest.md +0 -15
  44. data/docs/ValidateIdentifierResponse.md +0 -9
  45. data/docs/ValidateUrlRequestFull.md +0 -8
  46. data/docs/ValidateUrlRequestSyntaxOnly.md +0 -8
  47. data/docs/ValidateUrlResponseFull.md +0 -12
  48. data/docs/ValidateUrlResponseSyntaxOnly.md +0 -9
  49. data/docs/VatApi.md +0 -63
  50. data/docs/VatLookupRequest.md +0 -8
  51. data/docs/VatLookupResponse.md +0 -19
  52. data/docs/WhoisResponse.md +0 -22
  53. data/git_push.sh +0 -55
  54. data/lib/cloudmersive-validate-api-client.rb +0 -85
  55. data/lib/cloudmersive-validate-api-client/api/address_api.rb +0 -243
  56. data/lib/cloudmersive-validate-api-client/api/domain_api.rb +0 -243
  57. data/lib/cloudmersive-validate-api-client/api/email_api.rb +0 -188
  58. data/lib/cloudmersive-validate-api-client/api/ip_address_api.rb +0 -78
  59. data/lib/cloudmersive-validate-api-client/api/lead_enrichment_api.rb +0 -78
  60. data/lib/cloudmersive-validate-api-client/api/name_api.rb +0 -298
  61. data/lib/cloudmersive-validate-api-client/api/phone_number_api.rb +0 -78
  62. data/lib/cloudmersive-validate-api-client/api/user_agent_api.rb +0 -78
  63. data/lib/cloudmersive-validate-api-client/api/vat_api.rb +0 -78
  64. data/lib/cloudmersive-validate-api-client/api_client.rb +0 -389
  65. data/lib/cloudmersive-validate-api-client/api_error.rb +0 -38
  66. data/lib/cloudmersive-validate-api-client/configuration.rb +0 -209
  67. data/lib/cloudmersive-validate-api-client/models/address_get_servers_response.rb +0 -201
  68. data/lib/cloudmersive-validate-api-client/models/address_verify_syntax_only_response.rb +0 -219
  69. data/lib/cloudmersive-validate-api-client/models/check_response.rb +0 -189
  70. data/lib/cloudmersive-validate-api-client/models/first_name_validation_request.rb +0 -189
  71. data/lib/cloudmersive-validate-api-client/models/first_name_validation_response.rb +0 -199
  72. data/lib/cloudmersive-validate-api-client/models/full_email_validation_response.rb +0 -269
  73. data/lib/cloudmersive-validate-api-client/models/full_name_validation_request.rb +0 -189
  74. data/lib/cloudmersive-validate-api-client/models/full_name_validation_response.rb +0 -279
  75. data/lib/cloudmersive-validate-api-client/models/geolocate_response.rb +0 -269
  76. data/lib/cloudmersive-validate-api-client/models/get_gender_request.rb +0 -199
  77. data/lib/cloudmersive-validate-api-client/models/get_gender_response.rb +0 -199
  78. data/lib/cloudmersive-validate-api-client/models/get_timezones_request.rb +0 -189
  79. data/lib/cloudmersive-validate-api-client/models/get_timezones_response.rb +0 -241
  80. data/lib/cloudmersive-validate-api-client/models/last_name_validation_request.rb +0 -189
  81. data/lib/cloudmersive-validate-api-client/models/last_name_validation_response.rb +0 -199
  82. data/lib/cloudmersive-validate-api-client/models/lead_enrichment_request.rb +0 -319
  83. data/lib/cloudmersive-validate-api-client/models/lead_enrichment_response.rb +0 -359
  84. data/lib/cloudmersive-validate-api-client/models/parse_address_request.rb +0 -199
  85. data/lib/cloudmersive-validate-api-client/models/parse_address_response.rb +0 -269
  86. data/lib/cloudmersive-validate-api-client/models/phone_number_validate_request.rb +0 -199
  87. data/lib/cloudmersive-validate-api-client/models/phone_number_validation_response.rb +0 -259
  88. data/lib/cloudmersive-validate-api-client/models/timezone.rb +0 -209
  89. data/lib/cloudmersive-validate-api-client/models/user_agent_validate_request.rb +0 -189
  90. data/lib/cloudmersive-validate-api-client/models/user_agent_validate_response.rb +0 -319
  91. data/lib/cloudmersive-validate-api-client/models/validate_address_request.rb +0 -239
  92. data/lib/cloudmersive-validate-api-client/models/validate_address_response.rb +0 -209
  93. data/lib/cloudmersive-validate-api-client/models/validate_country_request.rb +0 -189
  94. data/lib/cloudmersive-validate-api-client/models/validate_country_response.rb +0 -241
  95. data/lib/cloudmersive-validate-api-client/models/validate_identifier_request.rb +0 -259
  96. data/lib/cloudmersive-validate-api-client/models/validate_identifier_response.rb +0 -199
  97. data/lib/cloudmersive-validate-api-client/models/validate_url_request_full.rb +0 -189
  98. data/lib/cloudmersive-validate-api-client/models/validate_url_request_syntax_only.rb +0 -189
  99. data/lib/cloudmersive-validate-api-client/models/validate_url_response_full.rb +0 -229
  100. data/lib/cloudmersive-validate-api-client/models/validate_url_response_syntax_only.rb +0 -199
  101. data/lib/cloudmersive-validate-api-client/models/vat_lookup_request.rb +0 -189
  102. data/lib/cloudmersive-validate-api-client/models/vat_lookup_response.rb +0 -299
  103. data/lib/cloudmersive-validate-api-client/models/whois_response.rb +0 -329
  104. data/lib/cloudmersive-validate-api-client/version.rb +0 -15
  105. data/spec/api/address_api_spec.rb +0 -83
  106. data/spec/api/domain_api_spec.rb +0 -83
  107. data/spec/api/email_api_spec.rb +0 -71
  108. data/spec/api/ip_address_api_spec.rb +0 -47
  109. data/spec/api/lead_enrichment_api_spec.rb +0 -47
  110. data/spec/api/name_api_spec.rb +0 -95
  111. data/spec/api/phone_number_api_spec.rb +0 -47
  112. data/spec/api/user_agent_api_spec.rb +0 -47
  113. data/spec/api/vat_api_spec.rb +0 -47
  114. data/spec/api_client_spec.rb +0 -226
  115. data/spec/configuration_spec.rb +0 -42
  116. data/spec/models/address_get_servers_response_spec.rb +0 -48
  117. data/spec/models/address_verify_syntax_only_response_spec.rb +0 -60
  118. data/spec/models/check_response_spec.rb +0 -42
  119. data/spec/models/first_name_validation_request_spec.rb +0 -42
  120. data/spec/models/first_name_validation_response_spec.rb +0 -48
  121. data/spec/models/full_email_validation_response_spec.rb +0 -90
  122. data/spec/models/full_name_validation_request_spec.rb +0 -42
  123. data/spec/models/full_name_validation_response_spec.rb +0 -96
  124. data/spec/models/geolocate_response_spec.rb +0 -90
  125. data/spec/models/get_gender_request_spec.rb +0 -48
  126. data/spec/models/get_gender_response_spec.rb +0 -48
  127. data/spec/models/get_timezones_request_spec.rb +0 -42
  128. data/spec/models/get_timezones_response_spec.rb +0 -72
  129. data/spec/models/last_name_validation_request_spec.rb +0 -42
  130. data/spec/models/last_name_validation_response_spec.rb +0 -48
  131. data/spec/models/lead_enrichment_request_spec.rb +0 -120
  132. data/spec/models/lead_enrichment_response_spec.rb +0 -144
  133. data/spec/models/parse_address_request_spec.rb +0 -48
  134. data/spec/models/parse_address_response_spec.rb +0 -90
  135. data/spec/models/phone_number_validate_request_spec.rb +0 -48
  136. data/spec/models/phone_number_validation_response_spec.rb +0 -84
  137. data/spec/models/timezone_spec.rb +0 -54
  138. data/spec/models/user_agent_validate_request_spec.rb +0 -42
  139. data/spec/models/user_agent_validate_response_spec.rb +0 -120
  140. data/spec/models/validate_address_request_spec.rb +0 -72
  141. data/spec/models/validate_address_response_spec.rb +0 -54
  142. data/spec/models/validate_country_request_spec.rb +0 -42
  143. data/spec/models/validate_country_response_spec.rb +0 -72
  144. data/spec/models/validate_identifier_request_spec.rb +0 -84
  145. data/spec/models/validate_identifier_response_spec.rb +0 -48
  146. data/spec/models/validate_url_request_full_spec.rb +0 -42
  147. data/spec/models/validate_url_request_syntax_only_spec.rb +0 -42
  148. data/spec/models/validate_url_response_full_spec.rb +0 -66
  149. data/spec/models/validate_url_response_syntax_only_spec.rb +0 -48
  150. data/spec/models/vat_lookup_request_spec.rb +0 -42
  151. data/spec/models/vat_lookup_response_spec.rb +0 -108
  152. data/spec/models/whois_response_spec.rb +0 -126
  153. data/spec/spec_helper.rb +0 -111
@@ -1,9 +0,0 @@
1
- # CloudmersiveValidateApiClient::AddressGetServersResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **success** | **BOOLEAN** | True if partial address validation was successufl, false otherwise | [optional]
7
- **servers** | **Array<String>** | Email servers for this email address | [optional]
8
-
9
-
@@ -1,11 +0,0 @@
1
- # CloudmersiveValidateApiClient::AddressVerifySyntaxOnlyResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **valid_address** | **BOOLEAN** | True if the email address is syntactically valid, false if it is not | [optional]
7
- **domain** | **String** | Domain name of the email address | [optional]
8
- **is_free_email_provider** | **BOOLEAN** | True if the email domain name is a free provider (typically a free to sign up web email provider for consumers / personal use), false otherwise. | [optional]
9
- **is_disposable** | **BOOLEAN** | True if the email address is a disposable email address, false otherwise; these disposable providers are not typically used to receive email and so will have a low likelihood of opening mail sent there. | [optional]
10
-
11
-
@@ -1,8 +0,0 @@
1
- # CloudmersiveValidateApiClient::CheckResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **valid_domain** | **BOOLEAN** | True if the domain name was valid, false if it is not | [optional]
7
-
8
-
@@ -1,228 +0,0 @@
1
- # CloudmersiveValidateApiClient::DomainApi
2
-
3
- All URIs are relative to *https://api.cloudmersive.com*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**domain_check**](DomainApi.md#domain_check) | **POST** /validate/domain/check | Validate a domain name
8
- [**domain_post**](DomainApi.md#domain_post) | **POST** /validate/domain/whois | Get WHOIS information for a domain
9
- [**domain_url_full**](DomainApi.md#domain_url_full) | **POST** /validate/domain/url/full | Validate a URL fully
10
- [**domain_url_syntax_only**](DomainApi.md#domain_url_syntax_only) | **POST** /validate/domain/url/syntax-only | Validate a URL syntactically
11
-
12
-
13
- # **domain_check**
14
- > CheckResponse domain_check(domain)
15
-
16
- Validate a domain name
17
-
18
- Check whether a domain name is valid or not. API performs a live validation by contacting DNS services to validate the existence of the domain name.
19
-
20
- ### Example
21
- ```ruby
22
- # load the gem
23
- require 'cloudmersive-validate-api-client'
24
- # setup authorization
25
- CloudmersiveValidateApiClient.configure do |config|
26
- # Configure API key authorization: Apikey
27
- config.api_key['Apikey'] = 'YOUR API KEY'
28
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
29
- #config.api_key_prefix['Apikey'] = 'Bearer'
30
- end
31
-
32
- api_instance = CloudmersiveValidateApiClient::DomainApi.new
33
-
34
- domain = "domain_example" # String | Domain name to check, for example \"cloudmersive.com\". The input is a string so be sure to enclose it in double-quotes.
35
-
36
-
37
- begin
38
- #Validate a domain name
39
- result = api_instance.domain_check(domain)
40
- p result
41
- rescue CloudmersiveValidateApiClient::ApiError => e
42
- puts "Exception when calling DomainApi->domain_check: #{e}"
43
- end
44
- ```
45
-
46
- ### Parameters
47
-
48
- Name | Type | Description | Notes
49
- ------------- | ------------- | ------------- | -------------
50
- **domain** | **String**| Domain name to check, for example \"cloudmersive.com\". The input is a string so be sure to enclose it in double-quotes. |
51
-
52
- ### Return type
53
-
54
- [**CheckResponse**](CheckResponse.md)
55
-
56
- ### Authorization
57
-
58
- [Apikey](../README.md#Apikey)
59
-
60
- ### HTTP request headers
61
-
62
- - **Content-Type**: text/javascript, application/json, text/json
63
- - **Accept**: application/json, text/json, application/xml, text/xml
64
-
65
-
66
-
67
- # **domain_post**
68
- > WhoisResponse domain_post(domain)
69
-
70
- Get WHOIS information for a domain
71
-
72
- Validate whether a domain name exists, and also return the full WHOIS record for that domain name. WHOIS records include all the registration details of the domain name, such as information about the domain's owners.
73
-
74
- ### Example
75
- ```ruby
76
- # load the gem
77
- require 'cloudmersive-validate-api-client'
78
- # setup authorization
79
- CloudmersiveValidateApiClient.configure do |config|
80
- # Configure API key authorization: Apikey
81
- config.api_key['Apikey'] = 'YOUR API KEY'
82
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
83
- #config.api_key_prefix['Apikey'] = 'Bearer'
84
- end
85
-
86
- api_instance = CloudmersiveValidateApiClient::DomainApi.new
87
-
88
- domain = "domain_example" # String | Domain name to check, for example \"cloudmersive.com\". The input is a string so be sure to enclose it in double-quotes.
89
-
90
-
91
- begin
92
- #Get WHOIS information for a domain
93
- result = api_instance.domain_post(domain)
94
- p result
95
- rescue CloudmersiveValidateApiClient::ApiError => e
96
- puts "Exception when calling DomainApi->domain_post: #{e}"
97
- end
98
- ```
99
-
100
- ### Parameters
101
-
102
- Name | Type | Description | Notes
103
- ------------- | ------------- | ------------- | -------------
104
- **domain** | **String**| Domain name to check, for example \"cloudmersive.com\". The input is a string so be sure to enclose it in double-quotes. |
105
-
106
- ### Return type
107
-
108
- [**WhoisResponse**](WhoisResponse.md)
109
-
110
- ### Authorization
111
-
112
- [Apikey](../README.md#Apikey)
113
-
114
- ### HTTP request headers
115
-
116
- - **Content-Type**: text/javascript, application/json, text/json
117
- - **Accept**: application/json, text/json, application/xml, text/xml
118
-
119
-
120
-
121
- # **domain_url_full**
122
- > ValidateUrlResponseFull domain_url_full(request)
123
-
124
- Validate a URL fully
125
-
126
- Validate whether a URL is syntactically valid (does not check endpoint for validity), whether it exists, and whether the endpoint is up and passes virus scan checks. Accepts various types of input and produces a well-formed URL as output.
127
-
128
- ### Example
129
- ```ruby
130
- # load the gem
131
- require 'cloudmersive-validate-api-client'
132
- # setup authorization
133
- CloudmersiveValidateApiClient.configure do |config|
134
- # Configure API key authorization: Apikey
135
- config.api_key['Apikey'] = 'YOUR API KEY'
136
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
137
- #config.api_key_prefix['Apikey'] = 'Bearer'
138
- end
139
-
140
- api_instance = CloudmersiveValidateApiClient::DomainApi.new
141
-
142
- request = CloudmersiveValidateApiClient::ValidateUrlRequestFull.new # ValidateUrlRequestFull | Input URL request
143
-
144
-
145
- begin
146
- #Validate a URL fully
147
- result = api_instance.domain_url_full(request)
148
- p result
149
- rescue CloudmersiveValidateApiClient::ApiError => e
150
- puts "Exception when calling DomainApi->domain_url_full: #{e}"
151
- end
152
- ```
153
-
154
- ### Parameters
155
-
156
- Name | Type | Description | Notes
157
- ------------- | ------------- | ------------- | -------------
158
- **request** | [**ValidateUrlRequestFull**](ValidateUrlRequestFull.md)| Input URL request |
159
-
160
- ### Return type
161
-
162
- [**ValidateUrlResponseFull**](ValidateUrlResponseFull.md)
163
-
164
- ### Authorization
165
-
166
- [Apikey](../README.md#Apikey)
167
-
168
- ### HTTP request headers
169
-
170
- - **Content-Type**: application/json, text/json
171
- - **Accept**: application/json, text/json, application/xml, text/xml
172
-
173
-
174
-
175
- # **domain_url_syntax_only**
176
- > ValidateUrlResponseSyntaxOnly domain_url_syntax_only(request)
177
-
178
- Validate a URL syntactically
179
-
180
- Validate whether a URL is syntactically valid (does not check endpoint for validity). Accepts various types of input and produces a well-formed URL as output.
181
-
182
- ### Example
183
- ```ruby
184
- # load the gem
185
- require 'cloudmersive-validate-api-client'
186
- # setup authorization
187
- CloudmersiveValidateApiClient.configure do |config|
188
- # Configure API key authorization: Apikey
189
- config.api_key['Apikey'] = 'YOUR API KEY'
190
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
191
- #config.api_key_prefix['Apikey'] = 'Bearer'
192
- end
193
-
194
- api_instance = CloudmersiveValidateApiClient::DomainApi.new
195
-
196
- request = CloudmersiveValidateApiClient::ValidateUrlRequestSyntaxOnly.new # ValidateUrlRequestSyntaxOnly | Input URL information
197
-
198
-
199
- begin
200
- #Validate a URL syntactically
201
- result = api_instance.domain_url_syntax_only(request)
202
- p result
203
- rescue CloudmersiveValidateApiClient::ApiError => e
204
- puts "Exception when calling DomainApi->domain_url_syntax_only: #{e}"
205
- end
206
- ```
207
-
208
- ### Parameters
209
-
210
- Name | Type | Description | Notes
211
- ------------- | ------------- | ------------- | -------------
212
- **request** | [**ValidateUrlRequestSyntaxOnly**](ValidateUrlRequestSyntaxOnly.md)| Input URL information |
213
-
214
- ### Return type
215
-
216
- [**ValidateUrlResponseSyntaxOnly**](ValidateUrlResponseSyntaxOnly.md)
217
-
218
- ### Authorization
219
-
220
- [Apikey](../README.md#Apikey)
221
-
222
- ### HTTP request headers
223
-
224
- - **Content-Type**: application/json, text/json
225
- - **Accept**: application/json, text/json, application/xml, text/xml
226
-
227
-
228
-
@@ -1,173 +0,0 @@
1
- # CloudmersiveValidateApiClient::EmailApi
2
-
3
- All URIs are relative to *https://api.cloudmersive.com*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**email_address_get_servers**](EmailApi.md#email_address_get_servers) | **POST** /validate/email/address/servers | Partially check whether an email address is valid
8
- [**email_full_validation**](EmailApi.md#email_full_validation) | **POST** /validate/email/address/full | Fully validate an email address
9
- [**email_post**](EmailApi.md#email_post) | **POST** /validate/email/address/syntaxOnly | Validate email adddress for syntactic correctness only
10
-
11
-
12
- # **email_address_get_servers**
13
- > AddressGetServersResponse email_address_get_servers(email)
14
-
15
- Partially check whether an email address is valid
16
-
17
- Validate an email address by identifying whether its parent domain has email servers defined. This call is less limited than syntaxOnly but not as comprehensive as address/full.
18
-
19
- ### Example
20
- ```ruby
21
- # load the gem
22
- require 'cloudmersive-validate-api-client'
23
- # setup authorization
24
- CloudmersiveValidateApiClient.configure do |config|
25
- # Configure API key authorization: Apikey
26
- config.api_key['Apikey'] = 'YOUR API KEY'
27
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
28
- #config.api_key_prefix['Apikey'] = 'Bearer'
29
- end
30
-
31
- api_instance = CloudmersiveValidateApiClient::EmailApi.new
32
-
33
- email = "email_example" # String | Email address to validate, e.g. \"support@cloudmersive.com\". The input is a string so be sure to enclose it in double-quotes.
34
-
35
-
36
- begin
37
- #Partially check whether an email address is valid
38
- result = api_instance.email_address_get_servers(email)
39
- p result
40
- rescue CloudmersiveValidateApiClient::ApiError => e
41
- puts "Exception when calling EmailApi->email_address_get_servers: #{e}"
42
- end
43
- ```
44
-
45
- ### Parameters
46
-
47
- Name | Type | Description | Notes
48
- ------------- | ------------- | ------------- | -------------
49
- **email** | **String**| Email address to validate, e.g. \"support@cloudmersive.com\". The input is a string so be sure to enclose it in double-quotes. |
50
-
51
- ### Return type
52
-
53
- [**AddressGetServersResponse**](AddressGetServersResponse.md)
54
-
55
- ### Authorization
56
-
57
- [Apikey](../README.md#Apikey)
58
-
59
- ### HTTP request headers
60
-
61
- - **Content-Type**: text/javascript, application/json, text/json
62
- - **Accept**: application/json, text/json, application/xml, text/xml
63
-
64
-
65
-
66
- # **email_full_validation**
67
- > FullEmailValidationResponse email_full_validation(email)
68
-
69
- Fully validate an email address
70
-
71
- Performs a full validation of the email address. Checks for syntactic correctness, identifies the mail server in question if any, and then contacts the email server to validate the existence of the account - without sending any emails.
72
-
73
- ### Example
74
- ```ruby
75
- # load the gem
76
- require 'cloudmersive-validate-api-client'
77
- # setup authorization
78
- CloudmersiveValidateApiClient.configure do |config|
79
- # Configure API key authorization: Apikey
80
- config.api_key['Apikey'] = 'YOUR API KEY'
81
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
82
- #config.api_key_prefix['Apikey'] = 'Bearer'
83
- end
84
-
85
- api_instance = CloudmersiveValidateApiClient::EmailApi.new
86
-
87
- email = "email_example" # String | Email address to validate, e.g. \"support@cloudmersive.com\". The input is a string so be sure to enclose it in double-quotes.
88
-
89
-
90
- begin
91
- #Fully validate an email address
92
- result = api_instance.email_full_validation(email)
93
- p result
94
- rescue CloudmersiveValidateApiClient::ApiError => e
95
- puts "Exception when calling EmailApi->email_full_validation: #{e}"
96
- end
97
- ```
98
-
99
- ### Parameters
100
-
101
- Name | Type | Description | Notes
102
- ------------- | ------------- | ------------- | -------------
103
- **email** | **String**| Email address to validate, e.g. \"support@cloudmersive.com\". The input is a string so be sure to enclose it in double-quotes. |
104
-
105
- ### Return type
106
-
107
- [**FullEmailValidationResponse**](FullEmailValidationResponse.md)
108
-
109
- ### Authorization
110
-
111
- [Apikey](../README.md#Apikey)
112
-
113
- ### HTTP request headers
114
-
115
- - **Content-Type**: text/javascript, application/json, text/json
116
- - **Accept**: application/json, text/json, application/xml, text/xml
117
-
118
-
119
-
120
- # **email_post**
121
- > AddressVerifySyntaxOnlyResponse email_post(value)
122
-
123
- Validate email adddress for syntactic correctness only
124
-
125
- Validate whether a given email address is syntactically correct via a limited local-only check. Use the address/full API to do a full validation.
126
-
127
- ### Example
128
- ```ruby
129
- # load the gem
130
- require 'cloudmersive-validate-api-client'
131
- # setup authorization
132
- CloudmersiveValidateApiClient.configure do |config|
133
- # Configure API key authorization: Apikey
134
- config.api_key['Apikey'] = 'YOUR API KEY'
135
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
136
- #config.api_key_prefix['Apikey'] = 'Bearer'
137
- end
138
-
139
- api_instance = CloudmersiveValidateApiClient::EmailApi.new
140
-
141
- value = "value_example" # String | Email address to validate, e.g. \"support@cloudmersive.com\". The input is a string so be sure to enclose it in double-quotes.
142
-
143
-
144
- begin
145
- #Validate email adddress for syntactic correctness only
146
- result = api_instance.email_post(value)
147
- p result
148
- rescue CloudmersiveValidateApiClient::ApiError => e
149
- puts "Exception when calling EmailApi->email_post: #{e}"
150
- end
151
- ```
152
-
153
- ### Parameters
154
-
155
- Name | Type | Description | Notes
156
- ------------- | ------------- | ------------- | -------------
157
- **value** | **String**| Email address to validate, e.g. \"support@cloudmersive.com\". The input is a string so be sure to enclose it in double-quotes. |
158
-
159
- ### Return type
160
-
161
- [**AddressVerifySyntaxOnlyResponse**](AddressVerifySyntaxOnlyResponse.md)
162
-
163
- ### Authorization
164
-
165
- [Apikey](../README.md#Apikey)
166
-
167
- ### HTTP request headers
168
-
169
- - **Content-Type**: text/javascript, application/json, text/json
170
- - **Accept**: application/json, text/json, application/xml, text/xml
171
-
172
-
173
-
@@ -1,8 +0,0 @@
1
- # CloudmersiveValidateApiClient::FirstNameValidationRequest
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **first_name** | **String** | First name to process | [optional]
7
-
8
-
@@ -1,9 +0,0 @@
1
- # CloudmersiveValidateApiClient::FirstNameValidationResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **successful** | **BOOLEAN** | True if the validation operation was successful, false otherwise | [optional]
7
- **validation_result** | **String** | Possible values are: ValidFirstName, ValidUnknownFirstName, InvalidSpamInput, InvalidCharacters, InvalidEmpty | [optional]
8
-
9
-