Sha256: 1e215fefebc51b9f04998a987becb677a765bd5ede8f132922116f02cd26c347

Contents?: true

Size: 298 Bytes

Versions: 119

Compression:

Stored size: 298 Bytes

Contents

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

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

Version data entries

119 entries across 119 versions & 9 rubygems

Version Path
jstorimer-deep-test-2.0.0 sample_rails_project/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
jstorimer-deep-test-1.4.0 sample_rails_project/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
jstorimer-deep-test-1.3.0 sample_rails_project/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
jstorimer-deep-test-1.2.0 sample_rails_project/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
jstorimer-deep-test-1.1.0 sample_rails_project/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
jstorimer-deep-test-1.0.0 sample_rails_project/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
jstorimer-deep-test-0.2.0 sample_rails_project/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
jstorimer-deep-test-0.1.0 sample_rails_project/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
authorails-1.0.0 lib/rails_generator/generators/components/mailer/templates/mailer.rb
backlog-0.0.0 vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
backlog-0.0.1 vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
backlog-0.0.2 vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
backlog-0.0.5 vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
backlog-0.0.4 vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
backlog-0.1.1 vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
backlog-0.1.0 vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
backlog-0.1.2 vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
backlog-0.2.0 vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
backlog-0.2.1 vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
backlog-0.3.0 vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb