Class: GenericMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- GenericMailer
- Defined in:
- app/mailers/generic_mailer.rb
Instance Method Summary collapse
Instance Method Details
#email(options = {}) ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'app/mailers/generic_mailer.rb', line 6 def email( = {}) @to = [:to] @message = [:message] @url = [:url] @url_label = [:url_label] mail(:to => @to, :cc => [:cc], :subject => [:subject], :date => Time.now) end |