Module: FinspotSDK
- Defined in:
- lib/finspot-sdk/version.rb,
lib/finspot-sdk.rb,
lib/finspot-sdk/api_error.rb,
lib/finspot-sdk/api_client.rb,
lib/finspot-sdk/configuration.rb,
lib/finspot-sdk/api/default_api.rb
Overview
#Finspot API
#No description provided (generated by Openapi Generator github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 1.0.0
Generated by: openapi-generator.tech Generator version: 7.8.0-SNAPSHOT
Defined Under Namespace
Classes: ApiClient, ApiError, Configuration, DefaultApi
Constant Summary collapse
- VERSION =
'0.0.2'
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.
FinspotSDK.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/finspot-sdk.rb', line 32 def configure if block_given? yield(Configuration.default) else Configuration.default end end |