Module: Ledger::Sdk::Configuration
- Included in:
- Ledger::Sdk
- Defined in:
- lib/ledger/sdk/configuration.rb
Overview
Provides SDK configuration management.
This module is meant to be extended by the main Ledger::Sdk module to expose #config and #configure at the module level.
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.