Class: Snails::Mailer::Backend
- Inherits:
-
Object
- Object
- Snails::Mailer::Backend
show all
- Defined in:
- lib/snails/mailer.rb
Instance Method Summary
collapse
Instance Method Details
#deliver(email, options = {}) ⇒ Object
147
148
149
|
# File 'lib/snails/mailer.rb', line 147
def deliver(email, options = {})
raise "Please redefine in subclass"
end
|
#deliver_many(emails, options = {}) ⇒ Object
151
152
153
|
# File 'lib/snails/mailer.rb', line 151
def deliver_many(emails, options = {})
emails.map { |e| deliver(e, options) }
end
|