lib/shutl/resource/configuration.rb in shutl_resource-0.10.4 vs lib/shutl/resource/configuration.rb in shutl_resource-0.10.5
- old
+ new
@@ -18,15 +18,17 @@
Configuration.configure(*args, &block)
end
module Configuration
class << self
- def logger
- @logger ||= Logger.new($stdout)
- end
+ attr_accessor :base_uri
def configure
yield self
+ end
+
+ def logger
+ @logger ||= Logger.new($stdout)
end
def logger=(logger)
@logger = logger
end