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
radiantcms-couchrest_model-0.2 lib/generators/extension_mailer/templates/mailer.rb
radiantcms-couchrest_model-0.2 vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
radiantcms-couchrest_model-0.1.9 lib/generators/extension_mailer/templates/mailer.rb
radiantcms-couchrest_model-0.1.9 vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
radiantcms-couchrest_model-0.1.8 vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
radiantcms-couchrest_model-0.1.8 lib/generators/extension_mailer/templates/mailer.rb
radiantcms-couchrest_model-0.1.7 vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
radiantcms-couchrest_model-0.1.7 lib/generators/extension_mailer/templates/mailer.rb
radiantcms-couchrest_model-0.1.6 vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
radiantcms-couchrest_model-0.1.6 lib/generators/extension_mailer/templates/mailer.rb
radiantcms-couchrest_model-0.1.5 vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
radiantcms-couchrest_model-0.1.5 lib/generators/extension_mailer/templates/mailer.rb
radiantcms-couchrest_model-0.1.4 vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
radiantcms-couchrest_model-0.1.4 lib/generators/extension_mailer/templates/mailer.rb
radiantcms-couchrest_model-0.1.3 vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
radiantcms-couchrest_model-0.1.3 lib/generators/extension_mailer/templates/mailer.rb
radiantcms-couchrest_model-0.1.2 lib/generators/extension_mailer/templates/mailer.rb
radiantcms-couchrest_model-0.1.2 vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
radiantcms-couchrest_model-0.1.1 vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb
radiantcms-couchrest_model-0.1.1 lib/generators/extension_mailer/templates/mailer.rb