Module: MintyApi

Defined in:
lib/minty/version.rb,
lib/minty.rb,
lib/minty/api_error.rb,
lib/minty/api_client.rb,
lib/minty/configuration.rb,
lib/minty/api/default_api.rb,
lib/minty/models/redirect_url.rb

Overview

#Minty API

#Minty API

Defined Under Namespace

Classes: ApiClient, ApiError, Configuration, DefaultApi, RedirectUrl

Constant Summary collapse

VERSION =
'1.1.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

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

If no block given, return the default Configuration object.



29
30
31
32
33
34
35
# File 'lib/minty.rb', line 29

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