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.
- checksums.yaml +4 -4
- data/README.md +22 -21
- data/cloudmersive-phishing-detection-api-client.gemspec +1 -1
- data/docs/AdvancedEmailDetectionRequest.md +15 -0
- data/docs/AdvancedUrlDetectionRequest.md +9 -0
- data/docs/PhishingDetectionAdvancedRequest.md +18 -0
- data/docs/PhishingDetectionAdvancedResponse.md +11 -0
- data/docs/PhishingDetectionApi.md +284 -0
- data/docs/PhishingDetectionEmailAdvancedResponse.md +17 -0
- data/docs/PhishingDetectionResponse.md +8 -0
- data/docs/PhishingDetectionUrlAdvancedResponse.md +15 -0
- data/lib/cloudmersive-phishing-detection-api-client/api/phishing_detection_api.rb +274 -0
- data/lib/cloudmersive-phishing-detection-api-client/api_client.rb +1 -1
- data/lib/cloudmersive-phishing-detection-api-client/api_error.rb +1 -1
- data/lib/cloudmersive-phishing-detection-api-client/configuration.rb +1 -1
- data/lib/cloudmersive-phishing-detection-api-client/models/{phishing_url_advanced_request.rb → advanced_email_detection_request.rb} +83 -46
- data/lib/cloudmersive-phishing-detection-api-client/models/{phishing_url_advanced_response_batch.rb → advanced_url_detection_request.rb} +18 -20
- data/lib/cloudmersive-phishing-detection-api-client/models/{phishing_url_advanced_request_batch.rb → phishing_detection_advanced_request.rb} +105 -36
- data/lib/cloudmersive-phishing-detection-api-client/models/{phishing_url_response_batch.rb → phishing_detection_advanced_response.rb} +32 -14
- data/lib/cloudmersive-phishing-detection-api-client/models/phishing_detection_email_advanced_response.rb +276 -0
- data/lib/cloudmersive-phishing-detection-api-client/models/{phishing_url_request.rb → phishing_detection_response.rb} +11 -16
- data/lib/cloudmersive-phishing-detection-api-client/models/{phishing_url_response.rb → phishing_detection_url_advanced_response.rb} +60 -40
- data/lib/cloudmersive-phishing-detection-api-client/version.rb +2 -2
- data/lib/cloudmersive-phishing-detection-api-client.rb +9 -10
- data/spec/api/phishing_detection_api_spec.rb +93 -0
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/advanced_email_detection_request_spec.rb +83 -0
- data/spec/models/{phishing_url_response_batch_spec.rb → advanced_url_detection_request_spec.rb} +9 -9
- data/spec/models/{phishing_url_advanced_response_spec.rb → phishing_detection_advanced_request_spec.rb} +18 -18
- data/spec/models/{phishing_url_response_spec.rb → phishing_detection_advanced_response_spec.rb} +10 -22
- data/spec/models/phishing_detection_email_advanced_response_spec.rb +95 -0
- data/spec/models/{phishing_url_request_spec.rb → phishing_detection_response_spec.rb} +8 -8
- data/spec/models/phishing_detection_url_advanced_response_spec.rb +83 -0
- data/spec/spec_helper.rb +1 -1
- metadata +26 -29
- data/docs/PhishingUrlAdvancedRequest.md +0 -10
- data/docs/PhishingUrlAdvancedRequestBatch.md +0 -10
- data/docs/PhishingUrlAdvancedResponse.md +0 -18
- data/docs/PhishingUrlAdvancedResponseBatch.md +0 -9
- data/docs/PhishingUrlApi.md +0 -120
- data/docs/PhishingUrlBatchApi.md +0 -120
- data/docs/PhishingUrlRequest.md +0 -8
- data/docs/PhishingUrlResponse.md +0 -13
- data/docs/PhishingUrlResponseBatch.md +0 -9
- data/lib/cloudmersive-phishing-detection-api-client/api/phishing_url_api.rb +0 -123
- data/lib/cloudmersive-phishing-detection-api-client/api/phishing_url_batch_api.rb +0 -123
- data/lib/cloudmersive-phishing-detection-api-client/models/phishing_url_advanced_response.rb +0 -286
- data/spec/api/phishing_url_api_spec.rb +0 -59
- data/spec/api/phishing_url_batch_api_spec.rb +0 -59
- data/spec/models/phishing_url_advanced_request_batch_spec.rb +0 -53
- data/spec/models/phishing_url_advanced_request_spec.rb +0 -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
|