Module: Fluence::Gateway::Configuration
- Included in:
- Fluence::Gateway
- Defined in:
- lib/fluence/gateway/configuration.rb
Overview
Provides SDK configuration management.
Extended by Fluence::Gateway so that #config and #configure are available directly on the module (no instance to pass around). The underlying storage is a Settings singleton.
Only client_id and client_secret have no defaults and must be set
before any gateway call; URL and timeout defaults target Fluence's
production environment and can be overridden per deployment.
Defined Under Namespace
Classes: Settings
Instance Method Summary collapse
-
#config ⇒ Settings
Returns the singleton configuration instance.
-
#configure {|config| ... } ⇒ void
Configures the SDK via a block.
Instance Method Details
#config ⇒ Settings
Returns the singleton configuration instance.
#configure {|config| ... } ⇒ void
This method returns an undefined value.
Configures the SDK via a block.