Module: Mosaic::Sdk::Configuration
- Included in:
- Mosaic::Sdk
- Defined in:
- lib/mosaic/sdk/configuration.rb
Overview
Provides SDK configuration management.
This module is meant to be extended by the main Mosaic::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.