lib/propono/configuration.rb in propono-0.2.0 vs lib/propono/configuration.rb in propono-0.3.0
- old
+ new
@@ -6,13 +6,20 @@
end
class Configuration
include Singleton
- SETTINGS = [:access_key, :secret_key, :queue_region, :application_name]
+ SETTINGS = [
+ :access_key,
+ :secret_key,
+ :queue_region,
+ :application_name,
+ :logger
+ ]
attr_writer *SETTINGS
def initialize
+ self.logger = $stderr
end
SETTINGS.each do |setting|
define_method setting do
get_or_raise(setting)