Module: CloudmersiveVirusScanApiClient

Defined in:
lib/cloudmersive-virus-scan-api-client/version.rb,
lib/cloudmersive-virus-scan-api-client.rb,
lib/cloudmersive-virus-scan-api-client/api_error.rb,
lib/cloudmersive-virus-scan-api-client/api_client.rb,
lib/cloudmersive-virus-scan-api-client/api/scan_api.rb,
lib/cloudmersive-virus-scan-api-client/configuration.rb,
lib/cloudmersive-virus-scan-api-client/models/virus_found.rb,
lib/cloudmersive-virus-scan-api-client/models/virus_scan_result.rb,
lib/cloudmersive-virus-scan-api-client/api/scan_cloud_storage_api.rb,
lib/cloudmersive-virus-scan-api-client/models/website_scan_result.rb,
lib/cloudmersive-virus-scan-api-client/models/website_scan_request.rb,
lib/cloudmersive-virus-scan-api-client/models/cloud_storage_virus_found.rb,
lib/cloudmersive-virus-scan-api-client/models/virus_scan_advanced_result.rb,
lib/cloudmersive-virus-scan-api-client/models/cloud_storage_virus_scan_result.rb,
lib/cloudmersive-virus-scan-api-client/models/additional_advanced_scan_information.rb,
lib/cloudmersive-virus-scan-api-client/models/cloud_storage_advanced_virus_scan_result.rb

Overview

#virusapi

#The Cloudmersive Virus Scan API lets you scan files and content for viruses and identify security issues with content.

OpenAPI spec version: v1

Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.14

Defined Under Namespace

Classes: AdditionalAdvancedScanInformation, ApiClient, ApiError, CloudStorageAdvancedVirusScanResult, CloudStorageVirusFound, CloudStorageVirusScanResult, Configuration, ScanApi, ScanCloudStorageApi, VirusFound, VirusScanAdvancedResult, VirusScanResult, WebsiteScanRequest, WebsiteScanResult

Constant Summary collapse

VERSION =
'2.2.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

CloudmersiveVirusScanApiClient.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



42
43
44
45
46
47
48
# File 'lib/cloudmersive-virus-scan-api-client.rb', line 42

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end