cloudmersive-phishing-detection-api-client 2.2.0 → 2.2.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 (47) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +19 -21
  3. data/cloudmersive-phishing-detection-api-client.gemspec +1 -1
  4. data/docs/AdvancedEmailDetectionRequest.md +14 -0
  5. data/docs/PhishingDetectionAdvancedRequest.md +9 -0
  6. data/docs/PhishingDetectionAdvancedResponse.md +10 -0
  7. data/docs/PhishingDetectionApi.md +228 -0
  8. data/docs/PhishingDetectionEmailAdvancedResponse.md +17 -0
  9. data/docs/PhishingDetectionResponse.md +8 -0
  10. data/lib/cloudmersive-phishing-detection-api-client/api/phishing_detection_api.rb +223 -0
  11. data/lib/cloudmersive-phishing-detection-api-client/api_client.rb +1 -1
  12. data/lib/cloudmersive-phishing-detection-api-client/api_error.rb +1 -1
  13. data/lib/cloudmersive-phishing-detection-api-client/configuration.rb +1 -1
  14. data/lib/cloudmersive-phishing-detection-api-client/models/{phishing_url_advanced_request.rb → advanced_email_detection_request.rb} +72 -46
  15. data/lib/cloudmersive-phishing-detection-api-client/models/{phishing_url_advanced_response_batch.rb → phishing_detection_advanced_request.rb} +18 -20
  16. data/lib/cloudmersive-phishing-detection-api-client/models/{phishing_url_response_batch.rb → phishing_detection_advanced_response.rb} +22 -14
  17. data/lib/cloudmersive-phishing-detection-api-client/models/{phishing_url_response.rb → phishing_detection_email_advanced_response.rb} +80 -40
  18. data/lib/cloudmersive-phishing-detection-api-client/models/{phishing_url_request.rb → phishing_detection_response.rb} +11 -16
  19. data/lib/cloudmersive-phishing-detection-api-client/version.rb +2 -2
  20. data/lib/cloudmersive-phishing-detection-api-client.rb +7 -10
  21. data/spec/api/phishing_detection_api_spec.rb +81 -0
  22. data/spec/api_client_spec.rb +1 -1
  23. data/spec/configuration_spec.rb +1 -1
  24. data/spec/models/{phishing_url_response_spec.rb → advanced_email_detection_request_spec.rb} +19 -13
  25. data/spec/models/{phishing_url_advanced_response_batch_spec.rb → phishing_detection_advanced_request_spec.rb} +9 -9
  26. data/spec/models/{phishing_url_advanced_request_spec.rb → phishing_detection_advanced_response_spec.rb} +10 -10
  27. data/spec/models/{phishing_url_advanced_response_spec.rb → phishing_detection_email_advanced_response_spec.rb} +16 -22
  28. data/spec/models/{phishing_url_request_spec.rb → phishing_detection_response_spec.rb} +8 -8
  29. data/spec/spec_helper.rb +1 -1
  30. metadata +20 -29
  31. data/docs/PhishingUrlAdvancedRequest.md +0 -10
  32. data/docs/PhishingUrlAdvancedRequestBatch.md +0 -10
  33. data/docs/PhishingUrlAdvancedResponse.md +0 -18
  34. data/docs/PhishingUrlAdvancedResponseBatch.md +0 -9
  35. data/docs/PhishingUrlApi.md +0 -120
  36. data/docs/PhishingUrlBatchApi.md +0 -120
  37. data/docs/PhishingUrlRequest.md +0 -8
  38. data/docs/PhishingUrlResponse.md +0 -13
  39. data/docs/PhishingUrlResponseBatch.md +0 -9
  40. data/lib/cloudmersive-phishing-detection-api-client/api/phishing_url_api.rb +0 -123
  41. data/lib/cloudmersive-phishing-detection-api-client/api/phishing_url_batch_api.rb +0 -123
  42. data/lib/cloudmersive-phishing-detection-api-client/models/phishing_url_advanced_request_batch.rb +0 -217
  43. data/lib/cloudmersive-phishing-detection-api-client/models/phishing_url_advanced_response.rb +0 -286
  44. data/spec/api/phishing_url_api_spec.rb +0 -59
  45. data/spec/api/phishing_url_batch_api_spec.rb +0 -59
  46. data/spec/models/phishing_url_advanced_request_batch_spec.rb +0 -53
  47. data/spec/models/phishing_url_response_batch_spec.rb +0 -47
@@ -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::PhishingUrlResponseBatch
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'PhishingUrlResponseBatch' do
21
- before do
22
- # run before each test
23
- @instance = CloudmersivePhishingDetectionApiClient::PhishingUrlResponseBatch.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of PhishingUrlResponseBatch' do
31
- it 'should create an instance of PhishingUrlResponseBatch' do
32
- expect(@instance).to be_instance_of(CloudmersivePhishingDetectionApiClient::PhishingUrlResponseBatch)
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