Module: Kount

Defined in:
lib/kount/version.rb,
lib/kount.rb,
lib/kount/api_error.rb,
lib/kount/api_client.rb,
lib/kount/configuration.rb,
lib/kount/api/kount_ris_app_api.rb,
lib/kount/models/product_details.rb

Overview

#A title for your API

#No description provided (generated by Swagger Codegen github.com/swagger-api/swagger-codegen)

OpenAPI spec version: v1

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

Defined Under Namespace

Classes: ApiClient, ApiError, Configuration, KountRisAppApi, ProductDetails

Constant Summary collapse

VERSION =
'1.0.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

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

If no block given, return the default Configuration object.



33
34
35
36
37
38
39
# File 'lib/kount.rb', line 33

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