Sha256: 473d17219e312aa3119a32cf9214560824839377cb56f552e53409f4ad0318dd

Contents?: true

Size: 287 Bytes

Versions: 117

Compression:

Stored size: 287 Bytes

Contents

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

  def <%= action %>(sent_at = Time.now)
    subject    '<%= class_name %>#<%= action %>'
    recipients ''
    from       ''
    sent_on    sent_at
    
    body       :greeting => 'Hi,'
  end
<% end -%>

end

Version data entries

117 entries across 89 versions & 16 rubygems

Version Path
trusty-cms-1.0.0 lib/generators/extension_mailer/templates/mailer.rb
radiant-1.1.4 lib/generators/extension_mailer/templates/mailer.rb
rails-2.3.18 lib/rails_generator/generators/components/mailer/templates/mailer.rb
rails_csi-2.3.5.p8 lib/rails_generator/generators/components/mailer/templates/mailer.rb
radiant-1.1.3 lib/generators/extension_mailer/templates/mailer.rb
rails-2.3.17 lib/rails_generator/generators/components/mailer/templates/mailer.rb
radiant-1.1.2 lib/generators/extension_mailer/templates/mailer.rb
rails_csi-2.3.5.p7 lib/rails_generator/generators/components/mailer/templates/mailer.rb
rails_csi-2.3.5.p6 lib/rails_generator/generators/components/mailer/templates/mailer.rb
rails-2.3.16 lib/rails_generator/generators/components/mailer/templates/mailer.rb
radiant-1.1.1 lib/generators/extension_mailer/templates/mailer.rb
rails-2.3.15 lib/rails_generator/generators/components/mailer/templates/mailer.rb
radiant-1.1.0 lib/generators/extension_mailer/templates/mailer.rb
radiant-1.1.0.rc1 lib/generators/extension_mailer/templates/mailer.rb
radiant-1.1.0.beta lib/generators/extension_mailer/templates/mailer.rb
radiant-1.0.1 lib/generators/extension_mailer/templates/mailer.rb
radiant-1.1.0.alpha lib/generators/extension_mailer/templates/mailer.rb
radiant-1.0.0 lib/generators/extension_mailer/templates/mailer.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/rails-2.3.14/lib/rails_generator/generators/components/mailer/templates/mailer.rb
radiant-1.0.0.rc5 lib/generators/extension_mailer/templates/mailer.rb