Module: CloudmersiveSpamDetectionApiClient

Defined in:
lib/cloudmersive-spam-detection-api-client/version.rb,
lib/cloudmersive-spam-detection-api-client.rb,
lib/cloudmersive-spam-detection-api-client/api_error.rb,
lib/cloudmersive-spam-detection-api-client/api_client.rb,
lib/cloudmersive-spam-detection-api-client/configuration.rb,
lib/cloudmersive-spam-detection-api-client/api/spam_detection_api.rb,
lib/cloudmersive-spam-detection-api-client/models/spam_detection_request.rb,
lib/cloudmersive-spam-detection-api-client/models/spam_detection_response.rb,
lib/cloudmersive-spam-detection-api-client/models/spam_detection_advanced_request.rb,
lib/cloudmersive-spam-detection-api-client/models/spam_detection_advanced_response.rb

Overview

#spamapi

#Easily and directly scan and block phishing 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, SpamDetectionAdvancedRequest, SpamDetectionAdvancedResponse, SpamDetectionApi, SpamDetectionRequest, SpamDetectionResponse

Constant Summary collapse

VERSION =
'2.3.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

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

If no block given, return the default Configuration object.



36
37
38
39
40
41
42
# File 'lib/cloudmersive-spam-detection-api-client.rb', line 36

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