Module: AmzSpApi::AuthorizationApiModel

Defined in:
lib/authorization-api-model/version.rb,
lib/authorization-api-model.rb,
lib/authorization-api-model/api_error.rb,
lib/authorization-api-model/api_client.rb,
lib/authorization-api-model/models/error.rb,
lib/authorization-api-model/configuration.rb,
lib/authorization-api-model/models/error_list.rb,
lib/authorization-api-model/api/authorization_api.rb,
lib/authorization-api-model/models/authorization_code.rb,
lib/authorization-api-model/models/get_authorization_code_response.rb

Overview

#Selling Partner API for Authorization

#The Selling Partner API for Authorization helps developers manage authorizations and check the specific permissions associated with a given authorization.

OpenAPI spec version: v1

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

Defined Under Namespace

Classes: ApiClient, ApiError, AuthorizationApi, AuthorizationCode, Configuration, Error, ErrorList, GetAuthorizationCodeResponse

Constant Summary collapse

VERSION =
'0.1.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

AmzSpApi::AuthorizationApiModel.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



35
36
37
38
39
40
41
# File 'lib/authorization-api-model.rb', line 35

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