cloudmersive-phishing-detection-api-client 2.2.0 → 2.2.2

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 (53) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +22 -21
  3. data/cloudmersive-phishing-detection-api-client.gemspec +1 -1
  4. data/docs/AdvancedEmailDetectionRequest.md +15 -0
  5. data/docs/AdvancedUrlDetectionRequest.md +9 -0
  6. data/docs/PhishingDetectionAdvancedRequest.md +18 -0
  7. data/docs/PhishingDetectionAdvancedResponse.md +11 -0
  8. data/docs/PhishingDetectionApi.md +284 -0
  9. data/docs/PhishingDetectionEmailAdvancedResponse.md +17 -0
  10. data/docs/PhishingDetectionResponse.md +8 -0
  11. data/docs/PhishingDetectionUrlAdvancedResponse.md +15 -0
  12. data/lib/cloudmersive-phishing-detection-api-client/api/phishing_detection_api.rb +274 -0
  13. data/lib/cloudmersive-phishing-detection-api-client/api_client.rb +1 -1
  14. data/lib/cloudmersive-phishing-detection-api-client/api_error.rb +1 -1
  15. data/lib/cloudmersive-phishing-detection-api-client/configuration.rb +1 -1
  16. data/lib/cloudmersive-phishing-detection-api-client/models/{phishing_url_advanced_request.rb → advanced_email_detection_request.rb} +83 -46
  17. data/lib/cloudmersive-phishing-detection-api-client/models/{phishing_url_advanced_response_batch.rb → advanced_url_detection_request.rb} +18 -20
  18. data/lib/cloudmersive-phishing-detection-api-client/models/{phishing_url_advanced_request_batch.rb → phishing_detection_advanced_request.rb} +105 -36
  19. data/lib/cloudmersive-phishing-detection-api-client/models/{phishing_url_response_batch.rb → phishing_detection_advanced_response.rb} +32 -14
  20. data/lib/cloudmersive-phishing-detection-api-client/models/phishing_detection_email_advanced_response.rb +276 -0
  21. data/lib/cloudmersive-phishing-detection-api-client/models/{phishing_url_request.rb → phishing_detection_response.rb} +11 -16
  22. data/lib/cloudmersive-phishing-detection-api-client/models/{phishing_url_response.rb → phishing_detection_url_advanced_response.rb} +60 -40
  23. data/lib/cloudmersive-phishing-detection-api-client/version.rb +2 -2
  24. data/lib/cloudmersive-phishing-detection-api-client.rb +9 -10
  25. data/spec/api/phishing_detection_api_spec.rb +93 -0
  26. data/spec/api_client_spec.rb +1 -1
  27. data/spec/configuration_spec.rb +1 -1
  28. data/spec/models/advanced_email_detection_request_spec.rb +83 -0
  29. data/spec/models/{phishing_url_response_batch_spec.rb → advanced_url_detection_request_spec.rb} +9 -9
  30. data/spec/models/{phishing_url_advanced_response_spec.rb → phishing_detection_advanced_request_spec.rb} +18 -18
  31. data/spec/models/{phishing_url_response_spec.rb → phishing_detection_advanced_response_spec.rb} +10 -22
  32. data/spec/models/phishing_detection_email_advanced_response_spec.rb +95 -0
  33. data/spec/models/{phishing_url_request_spec.rb → phishing_detection_response_spec.rb} +8 -8
  34. data/spec/models/phishing_detection_url_advanced_response_spec.rb +83 -0
  35. data/spec/spec_helper.rb +1 -1
  36. metadata +26 -29
  37. data/docs/PhishingUrlAdvancedRequest.md +0 -10
  38. data/docs/PhishingUrlAdvancedRequestBatch.md +0 -10
  39. data/docs/PhishingUrlAdvancedResponse.md +0 -18
  40. data/docs/PhishingUrlAdvancedResponseBatch.md +0 -9
  41. data/docs/PhishingUrlApi.md +0 -120
  42. data/docs/PhishingUrlBatchApi.md +0 -120
  43. data/docs/PhishingUrlRequest.md +0 -8
  44. data/docs/PhishingUrlResponse.md +0 -13
  45. data/docs/PhishingUrlResponseBatch.md +0 -9
  46. data/lib/cloudmersive-phishing-detection-api-client/api/phishing_url_api.rb +0 -123
  47. data/lib/cloudmersive-phishing-detection-api-client/api/phishing_url_batch_api.rb +0 -123
  48. data/lib/cloudmersive-phishing-detection-api-client/models/phishing_url_advanced_response.rb +0 -286
  49. data/spec/api/phishing_url_api_spec.rb +0 -59
  50. data/spec/api/phishing_url_batch_api_spec.rb +0 -59
  51. data/spec/models/phishing_url_advanced_request_batch_spec.rb +0 -53
  52. data/spec/models/phishing_url_advanced_request_spec.rb +0 -53
  53. data/spec/models/phishing_url_advanced_response_batch_spec.rb +0 -47
@@ -1,53 +0,0 @@
1
- =begin
2
- #phishingapi
3
-
4
- #Easily and directly scan and block phishing security threats.
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 CloudmersivePhishingDetectionApiClient::PhishingUrlAdvancedRequestBatch
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'PhishingUrlAdvancedRequestBatch' do
21
- before do
22
- # run before each test
23
- @instance = CloudmersivePhishingDetectionApiClient::PhishingUrlAdvancedRequestBatch.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of PhishingUrlAdvancedRequestBatch' do
31
- it 'should create an instance of PhishingUrlAdvancedRequestBatch' do
32
- expect(@instance).to be_instance_of(CloudmersivePhishingDetectionApiClient::PhishingUrlAdvancedRequestBatch)
33
- end
34
- end
35
- describe 'test attribute "urls"' do
36
- it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
- end
39
- end
40
-
41
- describe 'test attribute "allow_list"' 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 "block_list"' 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
@@ -1,53 +0,0 @@
1
- =begin
2
- #phishingapi
3
-
4
- #Easily and directly scan and block phishing security threats.
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 CloudmersivePhishingDetectionApiClient::PhishingUrlAdvancedRequest
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'PhishingUrlAdvancedRequest' do
21
- before do
22
- # run before each test
23
- @instance = CloudmersivePhishingDetectionApiClient::PhishingUrlAdvancedRequest.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of PhishingUrlAdvancedRequest' do
31
- it 'should create an instance of PhishingUrlAdvancedRequest' do
32
- expect(@instance).to be_instance_of(CloudmersivePhishingDetectionApiClient::PhishingUrlAdvancedRequest)
33
- end
34
- end
35
- describe 'test attribute "url"' do
36
- it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
- end
39
- end
40
-
41
- describe 'test attribute "allow_list"' 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 "block_list"' 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
@@ -1,47 +0,0 @@
1
- =begin
2
- #phishingapi
3
-
4
- #Easily and directly scan and block phishing security threats.
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 CloudmersivePhishingDetectionApiClient::PhishingUrlAdvancedResponseBatch
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'PhishingUrlAdvancedResponseBatch' do
21
- before do
22
- # run before each test
23
- @instance = CloudmersivePhishingDetectionApiClient::PhishingUrlAdvancedResponseBatch.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of PhishingUrlAdvancedResponseBatch' do
31
- it 'should create an instance of PhishingUrlAdvancedResponseBatch' do
32
- expect(@instance).to be_instance_of(CloudmersivePhishingDetectionApiClient::PhishingUrlAdvancedResponseBatch)
33
- end
34
- end
35
- describe 'test attribute "clean_result"' 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 "url_responses"' 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