Module: CloudmersiveSecurityApiClient

Defined in:
lib/cloudmersive-security-api-client/version.rb,
lib/cloudmersive-security-api-client.rb,
lib/cloudmersive-security-api-client/api_error.rb,
lib/cloudmersive-security-api-client/api_client.rb,
lib/cloudmersive-security-api-client/configuration.rb,
lib/cloudmersive-security-api-client/api/content_threat_detection_api.rb,
lib/cloudmersive-security-api-client/api/network_threat_detection_api.rb,
lib/cloudmersive-security-api-client/models/string_xxe_detection_result.rb,
lib/cloudmersive-security-api-client/models/ip_threat_detection_response.rb,
lib/cloudmersive-security-api-client/models/string_xss_protection_result.rb,
lib/cloudmersive-security-api-client/models/string_automatic_threat_detection.rb,
lib/cloudmersive-security-api-client/models/threat_detection_tor_node_response.rb,
lib/cloudmersive-security-api-client/models/threat_detection_bot_check_response.rb,
lib/cloudmersive-security-api-client/models/string_sql_injection_detection_result.rb,
lib/cloudmersive-security-api-client/models/url_ssrf_threat_detection_request_full.rb,
lib/cloudmersive-security-api-client/models/url_ssrf_threat_detection_response_full.rb,
lib/cloudmersive-security-api-client/models/string_insecure_deserialization_json_detection.rb

Overview

#securityapi

#The security APIs help you detect and block security threats.

OpenAPI spec version: v1

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

Defined Under Namespace

Classes: ApiClient, ApiError, Configuration, ContentThreatDetectionApi, IPThreatDetectionResponse, NetworkThreatDetectionApi, StringAutomaticThreatDetection, StringInsecureDeserializationJsonDetection, StringSqlInjectionDetectionResult, StringXssProtectionResult, StringXxeDetectionResult, ThreatDetectionBotCheckResponse, ThreatDetectionTorNodeResponse, UrlSsrfThreatDetectionRequestFull, UrlSsrfThreatDetectionResponseFull

Constant Summary collapse

VERSION =
'2.0.1'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

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

If no block given, return the default Configuration object.



43
44
45
46
47
48
49
# File 'lib/cloudmersive-security-api-client.rb', line 43

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