Module: SwaggerClient
- Defined in:
- lib/swagger_client/version.rb,
lib/swagger_client.rb,
lib/swagger_client/api_error.rb,
lib/swagger_client/api_client.rb,
lib/swagger_client/configuration.rb,
lib/swagger_client/api/default_api.rb
Overview
#Mautic API docs
#Auto-generated Swagger documentation.
OpenAPI spec version: 3.0.0
Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.14
Defined Under Namespace
Classes: ApiClient, ApiError, Configuration, DefaultApi
Constant Summary collapse
- VERSION =
'1.0.1'
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.
SwaggerClient.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
32 33 34 35 36 37 38 |
# File 'lib/swagger_client.rb', line 32 def configure if block_given? yield(Configuration.default) else Configuration.default end end |