Class: Howlr::Deliverers::Email::Mailer

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
lib/howlr/deliverers.rb

Instance Method Summary collapse

Instance Method Details

#message(subject, recipients, from, contents, content_type = 'text/plain') ⇒ Object



61
62
63
64
65
66
67
# File 'lib/howlr/deliverers.rb', line 61

def message(subject, recipients, from, contents, content_type = 'text/plain')
  self.content_type content_type
  self.recipients   recipients
  self.from         from
  self.subject      subject
  self.body         :contents => contents
end