Module: MandrillMailer
- Defined in:
- lib/mandrill_mailer.rb,
lib/mandrill_mailer/mock.rb,
lib/mandrill_mailer/offline.rb,
lib/mandrill_mailer/railtie.rb,
lib/mandrill_mailer/version.rb,
lib/mandrill_mailer/template_mailer.rb
Defined Under Namespace
Classes: Mock, Railtie, TemplateMailer
Constant Summary
collapse
- VERSION =
"0.4.7"
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
19
20
21
|
# File 'lib/mandrill_mailer.rb', line 19
def self.config
MandrillMailer::Railtie.config.mandrill_mailer
end
|
11
12
13
14
15
16
17
|
# File 'lib/mandrill_mailer.rb', line 11
def self.configure(&block)
if block_given?
block.call(MandrillMailer::Railtie.config.mandrill_mailer)
else
MandrillMailer::Railtie.config.mandrill_mailer
end
end
|
.deliveries ⇒ Object
24
25
26
|
# File 'lib/mandrill_mailer/offline.rb', line 24
def self.deliveries
@deliveries ||= []
end
|