Sha256: 159deb9022ac7c9cbc7aad039f14c8c7379472d0996667459c3500ca004681b1

Contents?: true

Size: 298 Bytes

Versions: 8

Compression:

Stored size: 298 Bytes

Contents

class <%= class_name %> < ActionMailer::Base
<% for action in actions -%>

  def <%= action %>(sent_on = Time.now)
    @subject    = '<%= class_name %>#<%= action %>'
    @body       = {}
    @recipients = ''
    @from       = ''
    @sent_on    = sent_on
    @headers    = {}
  end
<% end -%>
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
devise_sociable-0.1.0 vendor/bundle/gems/rails-0.9.5/generators/mailer/templates/mailer.rb
rails-0.10.0 lib/rails_generator/generators/components/mailer/templates/mailer.rb
rails-0.11.0 lib/rails_generator/generators/components/mailer/templates/mailer.rb
rails-0.10.1 lib/rails_generator/generators/components/mailer/templates/mailer.rb
rails-0.9.4 generators/mailer/templates/mailer.rb
rails-0.9.3 generators/mailer/templates/mailer.rb
rails-0.9.5 generators/mailer/templates/mailer.rb
rails-0.9.4.1 generators/mailer/templates/mailer.rb