Module: FileboundClient::Config
- Included in:
- Connection
- Defined in:
- lib/filebound_client/config.rb
Overview
Config module
Instance Method Summary collapse
-
#configuration ⇒ FileboundClient::Configuration
Retrive the current configuration.
-
#configure {|@configuration| ... } ⇒ Object
Creates a new Configuration object and yields to the caller.
Instance Method Details
#configuration ⇒ FileboundClient::Configuration
Retrive the current configuration
6 7 8 |
# File 'lib/filebound_client/config.rb', line 6 def configuration @configuration end |
#configure {|@configuration| ... } ⇒ Object
Creates a new Configuration object and yields to the caller
11 12 13 14 |
# File 'lib/filebound_client/config.rb', line 11 def configure @configuration ||= Configuration.new yield @configuration end |