lib/amqp/failover/config.rb in amqp-failover-0.0.2 vs lib/amqp/failover/config.rb in amqp-failover-0.0.3
- old
+ new
@@ -5,10 +5,10 @@
class Config < ::Hash
attr_accessor :last_fail
def initialize(hash = {}, last_fail_date = nil)
- self.replace(symbolize_keys(defaults.merge(hash)))
+ self.replace(defaults.merge(symbolize_keys(hash)))
self.last_fail = last_fail_date if last_fail_date
end
def defaults
AMQP.settings