Module: FileboundClient::Config

Included in:
Connection
Defined in:
lib/filebound_client/config.rb

Overview

Config module

Instance Method Summary collapse

Instance Method Details

#configurationFileboundClient::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

Yields:



11
12
13
14
# File 'lib/filebound_client/config.rb', line 11

def configure
  @configuration ||= Configuration.new
  yield @configuration
end