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-3.0.0 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.26 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.25 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.24 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.23 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.22 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.21 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.21.alpha lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.20 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.2 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.19 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.18 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.17 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.16 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.15 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.14 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.13 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.12 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.11 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.10.pre.beta lib/generators/extension_mailer/templates/mailer.rb