Class: DigestMailer

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
lib/app/mailers/digest_mailer.rb

Instance Method Summary collapse

Instance Method Details

#digest(feed, email) ⇒ Object



7
8
9
10
11
12
13
14
15
# File 'lib/app/mailers/digest_mailer.rb', line 7

def digest(feed, email)

  @feed = feed
  @email = email
  mail(:to => @email, :subject => 'Digest') do |format|
    format.html
  end

end