lib/propono/configuration.rb in propono-1.0.0.rc2 vs lib/propono/configuration.rb in propono-1.0.0.rc3

- old
+ new

@@ -8,17 +8,19 @@ SETTINGS = [ :use_iam_profile, :access_key, :secret_key, :queue_region, :queue_suffix, :application_name, :udp_host, :udp_port, :tcp_host, :tcp_port, - :logger + :logger, + :max_retries ] attr_writer *SETTINGS def initialize self.logger = Propono::Logger.new self.queue_suffix = "" self.use_iam_profile = false + self.max_retries = 0 end SETTINGS.each do |setting| define_method setting do get_or_raise(setting)