mandrill_mailer 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mandrill_mailer.rb +5 -1
- data/lib/mandrill_mailer/version.rb +1 -1
- metadata +1 -1
data/lib/mandrill_mailer.rb
CHANGED
@@ -6,7 +6,11 @@ require 'mandrill_mailer/version'
|
|
6
6
|
|
7
7
|
module MandrillMailer
|
8
8
|
def self.configure(&block)
|
9
|
-
|
9
|
+
if block_given?
|
10
|
+
block.call(MandrillMailer::Railtie.config.mandrill_mailer)
|
11
|
+
else
|
12
|
+
MandrillMailer::Railtie.config.mandrill_mailer
|
13
|
+
end
|
10
14
|
end
|
11
15
|
|
12
16
|
def self.config
|