lib/propono/configuration.rb in propono-0.9.1 vs lib/propono/configuration.rb in propono-0.10.0

- old
+ new

@@ -4,19 +4,20 @@ end class Configuration SETTINGS = [ - :access_key, :secret_key, :queue_region, + :access_key, :secret_key, :queue_region, :queue_suffix, :application_name, :udp_host, :udp_port, :tcp_host, :tcp_port, :logger ] attr_writer *SETTINGS def initialize self.logger = Propono::Logger.new + self.queue_suffix = "" end SETTINGS.each do |setting| define_method setting do get_or_raise(setting)