Module: OpenapiClient
- Defined in:
- lib/openapi_client/version.rb,
lib/openapi_client.rb,
lib/openapi_client/api_error.rb,
lib/openapi_client/api_client.rb,
lib/openapi_client/models/app.rb,
lib/openapi_client/models/role.rb,
lib/openapi_client/models/user.rb,
lib/openapi_client/api/apps_api.rb,
lib/openapi_client/api/auth_api.rb,
lib/openapi_client/api/users_api.rb,
lib/openapi_client/configuration.rb,
lib/openapi_client/models/user_app_add.rb,
lib/openapi_client/models/user_role_add.rb,
lib/openapi_client/models/auth_validate_token_get200_response.rb
Overview
#API V1
#No description provided (generated by Openapi Generator github.com/openapitools/openapi-generator)
The version of the OpenAPI document: v1
Generated by: openapi-generator.tech Generator version: 7.12.0
Defined Under Namespace
Classes: ApiClient, ApiError, App, AppsApi, AuthApi, AuthValidateTokenGet200Response, Configuration, Role, User, UserAppAdd, UserRoleAdd, UsersApi
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.
OpenapiClient.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
40 41 42 43 44 45 46 |
# File 'lib/openapi_client.rb', line 40 def configure if block_given? yield(Configuration.default) else Configuration.default end end |