Class: Foo

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

Instance Method Summary collapse

Instance Method Details

#bar(date = Time.now) ⇒ Object



7
8
9
10
# File 'app/app/mailers/foo.rb', line 7

def bar(date=Time.now)
  @greeting = "Hi"
  mail :date => date, :to => ["[email protected]"], :subject => "Bar"
end