lib/actionmailer/balancer/delivery_method.rb in actionmailer-balancer-1.1.0 vs lib/actionmailer/balancer/delivery_method.rb in actionmailer-balancer-1.1.1
- old
+ new
@@ -11,10 +11,10 @@
def deliver!(message)
delivery_method = choose_delivery_method
message.delivery_method(
::ActionMailer::Base.delivery_methods[delivery_method[:method]],
- delivery_method[:settings]
+ delivery_method[:settings] || {}
)
message.deliver!
end
private