module OpenapiClient

#Golden Service API

#An API that conforms to the standards and best practices that should be adhered to in all Mastercard owned APIs. Can be used to create subscriptions to reports that are generated twice daily (6am & 6pm) that deliver e-commerce spending across multiple sectors and locations. <br/> — * **All requests must be signed using oauth 1.0a. Please refer to: developer.mastercard.com/platform/documentation/using-oauth-1a-to-access-mastercard-apis/** — * **The user must provide their card details when creating a subscription. These details must be encrypted before entering transit. Please refer to [Mastercard security](stage.developer.mastercard.com/platform/documentation/securing-sensitive-data-using-payload-encryption/)** —

The version of the OpenAPI document: 1.1.0 Contact: developers@mastercard.com Generated by: openapi-generator.tech OpenAPI Generator version: 4.0.1-SNAPSHOT

#Golden Service API

#An API that conforms to the standards and best practices that should be adhered to in all Mastercard owned APIs. Can be used to create subscriptions to reports that are generated twice daily (6am & 6pm) that deliver e-commerce spending across multiple sectors and locations. <br/> — * **All requests must be signed using oauth 1.0a. Please refer to: developer.mastercard.com/platform/documentation/using-oauth-1a-to-access-mastercard-apis/** — * **The user must provide their card details when creating a subscription. These details must be encrypted before entering transit. Please refer to [Mastercard security](stage.developer.mastercard.com/platform/documentation/securing-sensitive-data-using-payload-encryption/)** —

The version of the OpenAPI document: 1.1.0 Contact: developers@mastercard.com Generated by: openapi-generator.tech OpenAPI Generator version: 4.0.1-SNAPSHOT

Constants

VERSION

Public Class Methods

configure() { |default| ... } click to toggle source

Customize default settings for the SDK using block.

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

If no block given, return the default Configuration object.

# File lib/openapi_client.rb, line 47
def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end