lib/meducation_sdk/configuration.rb in meducation_sdk-0.3.3 vs lib/meducation_sdk/configuration.rb in meducation_sdk-0.3.4
- old
+ new
@@ -14,10 +14,10 @@
Filum.config.logfile = "./log/loquor.log"
Loquor.config.endpoint = "http://www.meducation.net/system"
self.logger = Filum.logger
end
- [:access_id, :secret_key, :endpoint].each do |setting|
+ [:access_id, :secret_key, :endpoint, :cache].each do |setting|
define_method "#{setting}=" do |val|
Loquor.config.send("#{setting}=", val)
end
end