Sha256: 98af7119417e9838c4d3d48b69940d5e95f749f3692bf8ee78a5cc6a2c0957d4

Contents?: true

Size: 281 Bytes

Versions: 182

Compression:

Stored size: 281 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

182 entries across 182 versions & 1 rubygems

Version Path
trusty-cms-7.0.10 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-7.0.9 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-7.0.8 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-7.0.7 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-7.0.6 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-7.0.5 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-7.0.4 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-7.0.3 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-6.3.1 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-7.0.2 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-7.0.1 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-7.0.0 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-6.3 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-6.2.1 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-6.2.2.1 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-6.2.0 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-6.1.2 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-6.1.1 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-6.0.5 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-6.0.4 lib/generators/extension_mailer/templates/mailer.rb