Module: Recurl::Configuration
- Included in:
- Recurl
- Defined in:
- lib/recurl/configuration.rb
Overview
Configure Recurl
Usage: Recurl.configure do |config|
config.logger = Logger.new(STDOUT)
end
Instance Attribute Summary collapse
-
#logger ⇒ Object
Returns the value of attribute logger.
Instance Method Summary collapse
Instance Attribute Details
#logger ⇒ Object
Returns the value of attribute logger.
11 12 13 |
# File 'lib/recurl/configuration.rb', line 11 def logger @logger end |
Instance Method Details
#configure {|_self| ... } ⇒ Object
13 14 15 |
# File 'lib/recurl/configuration.rb', line 13 def configure yield self end |