cloudmersive-validate-api-client 2.2.4 → 2.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bda2d29aed6f694cefad741670033ee4c4413bca97f808db708b6d96e7bfc623
4
- data.tar.gz: e98072e83bfa227d8fdc5eda4d050297eaef91fa387b03229051c9b6f66c74bb
3
+ metadata.gz: 5eaddd281d0980dfb5489995726042b7496e497dd657a540d0692bf3fa9bdc59
4
+ data.tar.gz: 7912ea78518310c66a58259b23087378f174856cd46de6cebf1d2ebea2b636bd
5
5
  SHA512:
6
- metadata.gz: 6833aa20a67fbeba89dfd15e5b5c6278c79610c830813ced064432c472b0cd1de6a6d4645c9802fdde217a918f96c3fa0c19c894d32f5272fe56860cbf090ab1
7
- data.tar.gz: 6b7bb18a5c190a57f15af84fd75bcc019ebde4d27f832493d23430d844a1a2a869eba4b4f285546175a55411f8148815944e866672f4420a123fa672509faca0
6
+ metadata.gz: 4adc139adc7c59222b7fb60a3536346723c770be12fb0cc3fce6561d49ea539d7b4d9226ed885a1403e9d5623405f6877b4be6920fa3b88aa1f300d8e512824b
7
+ data.tar.gz: f8ca0d221d78d7452338859eeae1fd3700565240db9056f8931d7ff9a5da82a2e2005945f2e843dccb88a054e162d432eeb4f7724218a7b037d82b1d64ade081
data/README.md CHANGED
@@ -7,7 +7,7 @@ The validation APIs help you validate data. Check if an E-mail address is real.
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: v1
10
- - Package version: 2.2.4
10
+ - Package version: 2.2.6
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,15 +23,15 @@ gem build cloudmersive-validate-api-client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./cloudmersive-validate-api-client-2.2.4.gem
26
+ gem install ./cloudmersive-validate-api-client-2.2.6.gem
27
27
  ```
28
- (for development, run `gem install --dev ./cloudmersive-validate-api-client-2.2.4.gem` to install the development dependencies)
28
+ (for development, run `gem install --dev ./cloudmersive-validate-api-client-2.2.6.gem` to install the development dependencies)
29
29
 
30
30
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
31
31
 
32
32
  Finally add this to the Gemfile:
33
33
 
34
- gem 'cloudmersive-validate-api-client', '~> 2.2.4'
34
+ gem 'cloudmersive-validate-api-client', '~> 2.2.6'
35
35
 
36
36
  ### Install from Git
37
37
 
@@ -124,6 +124,7 @@ Class | Method | HTTP request | Description
124
124
  *CloudmersiveValidateApiClient::IPAddressApi* | [**i_p_address_post**](docs/IPAddressApi.md#i_p_address_post) | **POST** /validate/ip/geolocate | Geolocate an IP address
125
125
  *CloudmersiveValidateApiClient::IPAddressApi* | [**i_p_address_reverse_domain_lookup**](docs/IPAddressApi.md#i_p_address_reverse_domain_lookup) | **POST** /validate/ip/reverse-domain-lookup | Perform a reverse domain name (DNS) lookup on an IP address
126
126
  *CloudmersiveValidateApiClient::LeadEnrichmentApi* | [**lead_enrichment_enrich_lead**](docs/LeadEnrichmentApi.md#lead_enrichment_enrich_lead) | **POST** /validate/lead-enrichment/lead/enrich | Enrich an input lead with additional fields of data
127
+ *CloudmersiveValidateApiClient::LeadEnrichmentApi* | [**lead_enrichment_get_company_information**](docs/LeadEnrichmentApi.md#lead_enrichment_get_company_information) | **POST** /validate/lead-enrichment/lead/email/company-information | Get company information from email address
127
128
  *CloudmersiveValidateApiClient::NameApi* | [**name_get_gender**](docs/NameApi.md#name_get_gender) | **POST** /validate/name/get-gender | Get the gender of a first name
128
129
  *CloudmersiveValidateApiClient::NameApi* | [**name_identifier**](docs/NameApi.md#name_identifier) | **POST** /validate/name/identifier | Validate a code identifier
129
130
  *CloudmersiveValidateApiClient::NameApi* | [**name_validate_first_name**](docs/NameApi.md#name_validate_first_name) | **POST** /validate/name/first | Validate a first name
@@ -155,6 +156,7 @@ Class | Method | HTTP request | Description
155
156
  - [CloudmersiveValidateApiClient::DateTimeStandardizedParseRequest](docs/DateTimeStandardizedParseRequest.md)
156
157
  - [CloudmersiveValidateApiClient::DateTimeStandardizedParseResponse](docs/DateTimeStandardizedParseResponse.md)
157
158
  - [CloudmersiveValidateApiClient::DomainQualityResponse](docs/DomainQualityResponse.md)
159
+ - [CloudmersiveValidateApiClient::EmailLead](docs/EmailLead.md)
158
160
  - [CloudmersiveValidateApiClient::FirstNameValidationRequest](docs/FirstNameValidationRequest.md)
159
161
  - [CloudmersiveValidateApiClient::FirstNameValidationResponse](docs/FirstNameValidationResponse.md)
160
162
  - [CloudmersiveValidateApiClient::FullEmailValidationResponse](docs/FullEmailValidationResponse.md)
data/docs/EmailLead.md ADDED
@@ -0,0 +1,8 @@
1
+ # CloudmersiveValidateApiClient::EmailLead
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **email_address** | **String** | | [optional]
7
+
8
+
@@ -5,6 +5,7 @@ All URIs are relative to *https://api.cloudmersive.com*
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**lead_enrichment_enrich_lead**](LeadEnrichmentApi.md#lead_enrichment_enrich_lead) | **POST** /validate/lead-enrichment/lead/enrich | Enrich an input lead with additional fields of data
8
+ [**lead_enrichment_get_company_information**](LeadEnrichmentApi.md#lead_enrichment_get_company_information) | **POST** /validate/lead-enrichment/lead/email/company-information | Get company information from email address
8
9
 
9
10
 
10
11
  # **lead_enrichment_enrich_lead**
@@ -59,3 +60,55 @@ Name | Type | Description | Notes
59
60
 
60
61
 
61
62
 
63
+ # **lead_enrichment_get_company_information**
64
+ > LeadEnrichmentResponse lead_enrichment_get_company_information(request)
65
+
66
+ Get company information from email address
67
+
68
+ ### Example
69
+ ```ruby
70
+ # load the gem
71
+ require 'cloudmersive-validate-api-client'
72
+ # setup authorization
73
+ CloudmersiveValidateApiClient.configure do |config|
74
+ # Configure API key authorization: Apikey
75
+ config.api_key['Apikey'] = 'YOUR API KEY'
76
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
77
+ #config.api_key_prefix['Apikey'] = 'Bearer'
78
+ end
79
+
80
+ api_instance = CloudmersiveValidateApiClient::LeadEnrichmentApi.new
81
+
82
+ request = CloudmersiveValidateApiClient::EmailLead.new # EmailLead | Input email address lead
83
+
84
+
85
+ begin
86
+ #Get company information from email address
87
+ result = api_instance.lead_enrichment_get_company_information(request)
88
+ p result
89
+ rescue CloudmersiveValidateApiClient::ApiError => e
90
+ puts "Exception when calling LeadEnrichmentApi->lead_enrichment_get_company_information: #{e}"
91
+ end
92
+ ```
93
+
94
+ ### Parameters
95
+
96
+ Name | Type | Description | Notes
97
+ ------------- | ------------- | ------------- | -------------
98
+ **request** | [**EmailLead**](EmailLead.md)| Input email address lead |
99
+
100
+ ### Return type
101
+
102
+ [**LeadEnrichmentResponse**](LeadEnrichmentResponse.md)
103
+
104
+ ### Authorization
105
+
106
+ [Apikey](../README.md#Apikey)
107
+
108
+ ### HTTP request headers
109
+
110
+ - **Content-Type**: application/json, text/json
111
+ - **Accept**: application/json, text/json, application/xml, text/xml
112
+
113
+
114
+
data/docs/TextInputApi.md CHANGED
@@ -15,7 +15,7 @@ Method | HTTP request | Description
15
15
 
16
16
 
17
17
  # **text_input_check_html_ssrf**
18
- > HtmlSsrfDetectionResult text_input_check_html_ssrf(value)
18
+ > HtmlSsrfDetectionResult text_input_check_html_ssrf(value, opts)
19
19
 
20
20
  Protect html input from Server-side Request Forgery (SSRF) attacks
21
21
 
@@ -37,10 +37,13 @@ api_instance = CloudmersiveValidateApiClient::TextInputApi.new
37
37
 
38
38
  value = 'value_example' # String | User-facing HTML input.
39
39
 
40
+ opts = {
41
+ allow_cid_scheme: true # BOOLEAN | Optional: Set to true to allow cid: scheme URLs for email message attachments. Default is false.
42
+ }
40
43
 
41
44
  begin
42
45
  #Protect html input from Server-side Request Forgery (SSRF) attacks
43
- result = api_instance.text_input_check_html_ssrf(value)
46
+ result = api_instance.text_input_check_html_ssrf(value, opts)
44
47
  p result
45
48
  rescue CloudmersiveValidateApiClient::ApiError => e
46
49
  puts "Exception when calling TextInputApi->text_input_check_html_ssrf: #{e}"
@@ -52,6 +55,7 @@ end
52
55
  Name | Type | Description | Notes
53
56
  ------------- | ------------- | ------------- | -------------
54
57
  **value** | **String**| User-facing HTML input. |
58
+ **allow_cid_scheme** | **BOOLEAN**| Optional: Set to true to allow cid: scheme URLs for email message attachments. Default is false. | [optional]
55
59
 
56
60
  ### Return type
57
61
 
@@ -71,5 +71,57 @@ module CloudmersiveValidateApiClient
71
71
  end
72
72
  return data, status_code, headers
73
73
  end
74
+ # Get company information from email address
75
+ # @param request Input email address lead
76
+ # @param [Hash] opts the optional parameters
77
+ # @return [LeadEnrichmentResponse]
78
+ def lead_enrichment_get_company_information(request, opts = {})
79
+ data, _status_code, _headers = lead_enrichment_get_company_information_with_http_info(request, opts)
80
+ data
81
+ end
82
+
83
+ # Get company information from email address
84
+ # @param request Input email address lead
85
+ # @param [Hash] opts the optional parameters
86
+ # @return [Array<(LeadEnrichmentResponse, Fixnum, Hash)>] LeadEnrichmentResponse data, response status code and response headers
87
+ def lead_enrichment_get_company_information_with_http_info(request, opts = {})
88
+ if @api_client.config.debugging
89
+ @api_client.config.logger.debug 'Calling API: LeadEnrichmentApi.lead_enrichment_get_company_information ...'
90
+ end
91
+ # verify the required parameter 'request' is set
92
+ if @api_client.config.client_side_validation && request.nil?
93
+ fail ArgumentError, "Missing the required parameter 'request' when calling LeadEnrichmentApi.lead_enrichment_get_company_information"
94
+ end
95
+ # resource path
96
+ local_var_path = '/validate/lead-enrichment/lead/email/company-information'
97
+
98
+ # query parameters
99
+ query_params = {}
100
+
101
+ # header parameters
102
+ header_params = {}
103
+ # HTTP header 'Accept' (if needed)
104
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
105
+ # HTTP header 'Content-Type'
106
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json'])
107
+
108
+ # form parameters
109
+ form_params = {}
110
+
111
+ # http body (model)
112
+ post_body = @api_client.object_to_http_body(request)
113
+ auth_names = ['Apikey']
114
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
115
+ :header_params => header_params,
116
+ :query_params => query_params,
117
+ :form_params => form_params,
118
+ :body => post_body,
119
+ :auth_names => auth_names,
120
+ :return_type => 'LeadEnrichmentResponse')
121
+ if @api_client.config.debugging
122
+ @api_client.config.logger.debug "API called: LeadEnrichmentApi#lead_enrichment_get_company_information\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
123
+ end
124
+ return data, status_code, headers
125
+ end
74
126
  end
75
127
  end
@@ -23,6 +23,7 @@ module CloudmersiveValidateApiClient
23
23
  # Detects SSRF (Server-side request forgery) attacks and unsafe URL attacks from HTML text input, where attackers can attempt to access unsafe local or network paths in the server environment by injecting them into HTML.
24
24
  # @param value User-facing HTML input.
25
25
  # @param [Hash] opts the optional parameters
26
+ # @option opts [BOOLEAN] :allow_cid_scheme Optional: Set to true to allow cid: scheme URLs for email message attachments. Default is false.
26
27
  # @return [HtmlSsrfDetectionResult]
27
28
  def text_input_check_html_ssrf(value, opts = {})
28
29
  data, _status_code, _headers = text_input_check_html_ssrf_with_http_info(value, opts)
@@ -33,6 +34,7 @@ module CloudmersiveValidateApiClient
33
34
  # Detects SSRF (Server-side request forgery) attacks and unsafe URL attacks from HTML text input, where attackers can attempt to access unsafe local or network paths in the server environment by injecting them into HTML.
34
35
  # @param value User-facing HTML input.
35
36
  # @param [Hash] opts the optional parameters
37
+ # @option opts [BOOLEAN] :allow_cid_scheme Optional: Set to true to allow cid: scheme URLs for email message attachments. Default is false.
36
38
  # @return [Array<(HtmlSsrfDetectionResult, Fixnum, Hash)>] HtmlSsrfDetectionResult data, response status code and response headers
37
39
  def text_input_check_html_ssrf_with_http_info(value, opts = {})
38
40
  if @api_client.config.debugging
@@ -54,6 +56,7 @@ module CloudmersiveValidateApiClient
54
56
  header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
55
57
  # HTTP header 'Content-Type'
56
58
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json'])
59
+ header_params[:'allowCidScheme'] = opts[:'allow_cid_scheme'] if !opts[:'allow_cid_scheme'].nil?
57
60
 
58
61
  # form parameters
59
62
  form_params = {}
@@ -0,0 +1,184 @@
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 'date'
14
+
15
+ module CloudmersiveValidateApiClient
16
+ class EmailLead
17
+ attr_accessor :email_address
18
+
19
+ # Attribute mapping from ruby-style variable name to JSON key.
20
+ def self.attribute_map
21
+ {
22
+ :'email_address' => :'EmailAddress'
23
+ }
24
+ end
25
+
26
+ # Attribute type mapping.
27
+ def self.swagger_types
28
+ {
29
+ :'email_address' => :'String'
30
+ }
31
+ end
32
+
33
+ # Initializes the object
34
+ # @param [Hash] attributes Model attributes in the form of hash
35
+ def initialize(attributes = {})
36
+ return unless attributes.is_a?(Hash)
37
+
38
+ # convert string to symbol for hash key
39
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
40
+
41
+ if attributes.has_key?(:'EmailAddress')
42
+ self.email_address = attributes[:'EmailAddress']
43
+ end
44
+ end
45
+
46
+ # Show invalid properties with the reasons. Usually used together with valid?
47
+ # @return Array for valid properties with the reasons
48
+ def list_invalid_properties
49
+ invalid_properties = Array.new
50
+ invalid_properties
51
+ end
52
+
53
+ # Check to see if the all the properties in the model are valid
54
+ # @return true if the model is valid
55
+ def valid?
56
+ true
57
+ end
58
+
59
+ # Checks equality by comparing each attribute.
60
+ # @param [Object] Object to be compared
61
+ def ==(o)
62
+ return true if self.equal?(o)
63
+ self.class == o.class &&
64
+ email_address == o.email_address
65
+ end
66
+
67
+ # @see the `==` method
68
+ # @param [Object] Object to be compared
69
+ def eql?(o)
70
+ self == o
71
+ end
72
+
73
+ # Calculates hash code according to all attributes.
74
+ # @return [Fixnum] Hash code
75
+ def hash
76
+ [email_address].hash
77
+ end
78
+
79
+ # Builds the object from hash
80
+ # @param [Hash] attributes Model attributes in the form of hash
81
+ # @return [Object] Returns the model itself
82
+ def build_from_hash(attributes)
83
+ return nil unless attributes.is_a?(Hash)
84
+ self.class.swagger_types.each_pair do |key, type|
85
+ if type =~ /\AArray<(.*)>/i
86
+ # check to ensure the input is an array given that the attribute
87
+ # is documented as an array but the input is not
88
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
89
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
90
+ end
91
+ elsif !attributes[self.class.attribute_map[key]].nil?
92
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
93
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
94
+ end
95
+
96
+ self
97
+ end
98
+
99
+ # Deserializes the data based on type
100
+ # @param string type Data type
101
+ # @param string value Value to be deserialized
102
+ # @return [Object] Deserialized data
103
+ def _deserialize(type, value)
104
+ case type.to_sym
105
+ when :DateTime
106
+ DateTime.parse(value)
107
+ when :Date
108
+ Date.parse(value)
109
+ when :String
110
+ value.to_s
111
+ when :Integer
112
+ value.to_i
113
+ when :Float
114
+ value.to_f
115
+ when :BOOLEAN
116
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
117
+ true
118
+ else
119
+ false
120
+ end
121
+ when :Object
122
+ # generic object (usually a Hash), return directly
123
+ value
124
+ when /\AArray<(?<inner_type>.+)>\z/
125
+ inner_type = Regexp.last_match[:inner_type]
126
+ value.map { |v| _deserialize(inner_type, v) }
127
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
128
+ k_type = Regexp.last_match[:k_type]
129
+ v_type = Regexp.last_match[:v_type]
130
+ {}.tap do |hash|
131
+ value.each do |k, v|
132
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
133
+ end
134
+ end
135
+ else # model
136
+ temp_model = CloudmersiveValidateApiClient.const_get(type).new
137
+ temp_model.build_from_hash(value)
138
+ end
139
+ end
140
+
141
+ # Returns the string representation of the object
142
+ # @return [String] String presentation of the object
143
+ def to_s
144
+ to_hash.to_s
145
+ end
146
+
147
+ # to_body is an alias to to_hash (backward compatibility)
148
+ # @return [Hash] Returns the object in the form of hash
149
+ def to_body
150
+ to_hash
151
+ end
152
+
153
+ # Returns the object in the form of hash
154
+ # @return [Hash] Returns the object in the form of hash
155
+ def to_hash
156
+ hash = {}
157
+ self.class.attribute_map.each_pair do |attr, param|
158
+ value = self.send(attr)
159
+ next if value.nil?
160
+ hash[param] = _to_hash(value)
161
+ end
162
+ hash
163
+ end
164
+
165
+ # Outputs non-array value in the form of hash
166
+ # For object, use to_hash. Otherwise, just return the value
167
+ # @param [Object] value Any valid value
168
+ # @return [Hash] Returns the value in the form of hash
169
+ def _to_hash(value)
170
+ if value.is_a?(Array)
171
+ value.compact.map { |v| _to_hash(v) }
172
+ elsif value.is_a?(Hash)
173
+ {}.tap do |hash|
174
+ value.each { |k, v| hash[k] = _to_hash(v) }
175
+ end
176
+ elsif value.respond_to? :to_hash
177
+ value.to_hash
178
+ else
179
+ value
180
+ end
181
+ end
182
+
183
+ end
184
+ end
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.14
11
11
  =end
12
12
 
13
13
  module CloudmersiveValidateApiClient
14
- VERSION = '2.2.4'
14
+ VERSION = '2.2.6'
15
15
  end
@@ -28,6 +28,7 @@ require 'cloudmersive-validate-api-client/models/date_time_now_result'
28
28
  require 'cloudmersive-validate-api-client/models/date_time_standardized_parse_request'
29
29
  require 'cloudmersive-validate-api-client/models/date_time_standardized_parse_response'
30
30
  require 'cloudmersive-validate-api-client/models/domain_quality_response'
31
+ require 'cloudmersive-validate-api-client/models/email_lead'
31
32
  require 'cloudmersive-validate-api-client/models/first_name_validation_request'
32
33
  require 'cloudmersive-validate-api-client/models/first_name_validation_response'
33
34
  require 'cloudmersive-validate-api-client/models/full_email_validation_response'
@@ -43,4 +43,15 @@ describe 'LeadEnrichmentApi' do
43
43
  end
44
44
  end
45
45
 
46
+ # unit tests for lead_enrichment_get_company_information
47
+ # Get company information from email address
48
+ # @param request Input email address lead
49
+ # @param [Hash] opts the optional parameters
50
+ # @return [LeadEnrichmentResponse]
51
+ describe 'lead_enrichment_get_company_information test' do
52
+ it 'should work' do
53
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
54
+ end
55
+ end
56
+
46
57
  end
@@ -37,6 +37,7 @@ describe 'TextInputApi' do
37
37
  # Detects SSRF (Server-side request forgery) attacks and unsafe URL attacks from HTML text input, where attackers can attempt to access unsafe local or network paths in the server environment by injecting them into HTML.
38
38
  # @param value User-facing HTML input.
39
39
  # @param [Hash] opts the optional parameters
40
+ # @option opts [BOOLEAN] :allow_cid_scheme Optional: Set to true to allow cid: scheme URLs for email message attachments. Default is false.
40
41
  # @return [HtmlSsrfDetectionResult]
41
42
  describe 'text_input_check_html_ssrf test' do
42
43
  it 'should work' do
@@ -0,0 +1,41 @@
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::EmailLead
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'EmailLead' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::EmailLead.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of EmailLead' do
31
+ it 'should create an instance of EmailLead' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::EmailLead)
33
+ end
34
+ end
35
+ describe 'test attribute "email_address"' 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
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: 2.2.4
4
+ version: 2.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cloudmersive
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-09 00:00:00.000000000 Z
11
+ date: 2023-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -218,6 +218,7 @@ files:
218
218
  - "./docs/DomainApi.md"
219
219
  - "./docs/DomainQualityResponse.md"
220
220
  - "./docs/EmailApi.md"
221
+ - "./docs/EmailLead.md"
221
222
  - "./docs/FirstNameValidationRequest.md"
222
223
  - "./docs/FirstNameValidationResponse.md"
223
224
  - "./docs/FullEmailValidationResponse.md"
@@ -327,6 +328,7 @@ files:
327
328
  - "./lib/cloudmersive-validate-api-client/models/date_time_standardized_parse_request.rb"
328
329
  - "./lib/cloudmersive-validate-api-client/models/date_time_standardized_parse_response.rb"
329
330
  - "./lib/cloudmersive-validate-api-client/models/domain_quality_response.rb"
331
+ - "./lib/cloudmersive-validate-api-client/models/email_lead.rb"
330
332
  - "./lib/cloudmersive-validate-api-client/models/first_name_validation_request.rb"
331
333
  - "./lib/cloudmersive-validate-api-client/models/first_name_validation_response.rb"
332
334
  - "./lib/cloudmersive-validate-api-client/models/full_email_validation_response.rb"
@@ -427,6 +429,7 @@ files:
427
429
  - "./spec/models/date_time_standardized_parse_request_spec.rb"
428
430
  - "./spec/models/date_time_standardized_parse_response_spec.rb"
429
431
  - "./spec/models/domain_quality_response_spec.rb"
432
+ - "./spec/models/email_lead_spec.rb"
430
433
  - "./spec/models/first_name_validation_request_spec.rb"
431
434
  - "./spec/models/first_name_validation_response_spec.rb"
432
435
  - "./spec/models/full_email_validation_response_spec.rb"