lib/loquor/configuration.rb in loquor-0.7.0 vs lib/loquor/configuration.rb in loquor-0.8.0
- old
+ new
@@ -5,20 +5,21 @@
end
class Configuration
SETTINGS = [
- :logger, :access_id, :secret_key, :endpoint
+ :logger, :access_id, :secret_key, :endpoint, :substitute_values
]
attr_writer *SETTINGS
attr_accessor :cache
def initialize
Filum.config do |config|
config.logfile = "./log/loquor.log"
end
- logger = Filum.logger
+ self.logger = Filum.logger
+ self.substitute_values = {}
end
SETTINGS.each do |setting|
define_method setting do
get_or_raise(setting)