cloudmersive-validate-api-client 1.2.9 → 1.3.1

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 (32) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +16 -4
  3. data/docs/FirstNameValidationRequest.md +8 -0
  4. data/docs/FirstNameValidationResponse.md +9 -0
  5. data/docs/FullNameValidationRequest.md +8 -0
  6. data/docs/FullNameValidationResponse.md +17 -0
  7. data/docs/GetGenderRequest.md +9 -0
  8. data/docs/GetGenderResponse.md +9 -0
  9. data/docs/LastNameValidationRequest.md +8 -0
  10. data/docs/LastNameValidationResponse.md +9 -0
  11. data/docs/NameApi.md +228 -0
  12. data/lib/cloudmersive-validate-api-client.rb +9 -0
  13. data/lib/cloudmersive-validate-api-client/api/name_api.rb +243 -0
  14. data/lib/cloudmersive-validate-api-client/models/first_name_validation_request.rb +189 -0
  15. data/lib/cloudmersive-validate-api-client/models/first_name_validation_response.rb +199 -0
  16. data/lib/cloudmersive-validate-api-client/models/full_name_validation_request.rb +189 -0
  17. data/lib/cloudmersive-validate-api-client/models/full_name_validation_response.rb +279 -0
  18. data/lib/cloudmersive-validate-api-client/models/get_gender_request.rb +199 -0
  19. data/lib/cloudmersive-validate-api-client/models/get_gender_response.rb +199 -0
  20. data/lib/cloudmersive-validate-api-client/models/last_name_validation_request.rb +189 -0
  21. data/lib/cloudmersive-validate-api-client/models/last_name_validation_response.rb +199 -0
  22. data/lib/cloudmersive-validate-api-client/version.rb +1 -1
  23. data/spec/api/name_api_spec.rb +83 -0
  24. data/spec/models/first_name_validation_request_spec.rb +42 -0
  25. data/spec/models/first_name_validation_response_spec.rb +48 -0
  26. data/spec/models/full_name_validation_request_spec.rb +42 -0
  27. data/spec/models/full_name_validation_response_spec.rb +96 -0
  28. data/spec/models/get_gender_request_spec.rb +48 -0
  29. data/spec/models/get_gender_response_spec.rb +48 -0
  30. data/spec/models/last_name_validation_request_spec.rb +42 -0
  31. data/spec/models/last_name_validation_response_spec.rb +48 -0
  32. metadata +29 -2
@@ -11,5 +11,5 @@ Swagger Codegen version: unset
11
11
  =end
12
12
 
13
13
  module CloudmersiveValidateApiClient
14
- VERSION = "1.2.9"
14
+ VERSION = "1.3.1"
15
15
  end
@@ -0,0 +1,83 @@
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: unset
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for CloudmersiveValidateApiClient::NameApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'NameApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = CloudmersiveValidateApiClient::NameApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of NameApi' do
30
+ it 'should create an instance of NameApi' do
31
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::NameApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for name_get_gender
36
+ # Get the gender of a first name
37
+ # Determines the gender of a first name (given name)
38
+ # @param input Gender request information
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [GetGenderResponse]
41
+ describe 'name_get_gender test' 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
+ # unit tests for name_validate_first_name
48
+ # Validate a first name
49
+ # Determines if a string is a valid first name (given name)
50
+ # @param input Validation request information
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [FirstNameValidationResponse]
53
+ describe 'name_validate_first_name test' 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
+ # unit tests for name_validate_full_name
60
+ # Parse and validate a full name
61
+ # Parses a full name string (e.g. \"Mr. Jon van der Waal Jr.\") into its component parts (and returns these component parts), and then validates whether it is a valid name string or not
62
+ # @param input Validation request information
63
+ # @param [Hash] opts the optional parameters
64
+ # @return [FullNameValidationResponse]
65
+ describe 'name_validate_full_name test' 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
+ # unit tests for name_validate_last_name
72
+ # Validate a last name
73
+ # Determines if a string is a valid last name (surname)
74
+ # @param input Validation request information
75
+ # @param [Hash] opts the optional parameters
76
+ # @return [LastNameValidationResponse]
77
+ describe 'name_validate_last_name test' 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
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #validateapi
3
+
4
+ #The validation APIs help you validate data. Check if an E-mail address is real. Check if a domain is real. Check up on an IP address, and even where it is located. All this and much more is available in the validation API.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: unset
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveValidateApiClient::FirstNameValidationRequest
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'FirstNameValidationRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::FirstNameValidationRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of FirstNameValidationRequest' do
31
+ it 'should create an instance of FirstNameValidationRequest' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::FirstNameValidationRequest)
33
+ end
34
+ end
35
+ describe 'test attribute "first_name"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
42
+
@@ -0,0 +1,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: unset
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveValidateApiClient::FirstNameValidationResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'FirstNameValidationResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::FirstNameValidationResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of FirstNameValidationResponse' do
31
+ it 'should create an instance of FirstNameValidationResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::FirstNameValidationResponse)
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 "validation_result"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
48
+
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #validateapi
3
+
4
+ #The validation APIs help you validate data. Check if an E-mail address is real. Check if a domain is real. Check up on an IP address, and even where it is located. All this and much more is available in the validation API.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: unset
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveValidateApiClient::FullNameValidationRequest
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'FullNameValidationRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::FullNameValidationRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of FullNameValidationRequest' do
31
+ it 'should create an instance of FullNameValidationRequest' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::FullNameValidationRequest)
33
+ end
34
+ end
35
+ describe 'test attribute "full_name_string"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
42
+
@@ -0,0 +1,96 @@
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: unset
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveValidateApiClient::FullNameValidationResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'FullNameValidationResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::FullNameValidationResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of FullNameValidationResponse' do
31
+ it 'should create an instance of FullNameValidationResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::FullNameValidationResponse)
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 "validation_result_first_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 "validation_result_last_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 "title"' 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 "first_name"' 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 "middle_name"' 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 "last_name"' 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 "nick_name"' 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 "suffix"' 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 "display_name"' 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
+ end
96
+
@@ -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: unset
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveValidateApiClient::GetGenderRequest
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'GetGenderRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::GetGenderRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of GetGenderRequest' do
31
+ it 'should create an instance of GetGenderRequest' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::GetGenderRequest)
33
+ end
34
+ end
35
+ describe 'test attribute "first_name"' 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_code"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
48
+
@@ -0,0 +1,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: unset
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveValidateApiClient::GetGenderResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'GetGenderResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::GetGenderResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of GetGenderResponse' do
31
+ it 'should create an instance of GetGenderResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::GetGenderResponse)
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 "gender"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
48
+
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #validateapi
3
+
4
+ #The validation APIs help you validate data. Check if an E-mail address is real. Check if a domain is real. Check up on an IP address, and even where it is located. All this and much more is available in the validation API.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: unset
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveValidateApiClient::LastNameValidationRequest
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'LastNameValidationRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::LastNameValidationRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of LastNameValidationRequest' do
31
+ it 'should create an instance of LastNameValidationRequest' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::LastNameValidationRequest)
33
+ end
34
+ end
35
+ describe 'test attribute "last_name"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
42
+