Module: AmznSpApi::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.36
Defined Under Namespace
Classes: ApiClient, ApiError, AuthorizationApi, AuthorizationCode, Configuration, Error, ErrorList, GetAuthorizationCodeResponse
Constant Summary collapse
- VERSION =
'1.0.0'
Class Method Summary collapse
-
.configure ⇒ Object
Customize default settings for the SDK using block.
Class Method Details
.configure ⇒ Object
Customize default settings for the SDK using block.
AmznSpApi::AuthorizationApiModel.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/authorization_api_model.rb', line 33 def configure if block_given? yield(Configuration.default) else Configuration.default end end |