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-5.0.1 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-4.3.5 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-5.0.0 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-4.3.4 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-4.3.3 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-4.3.2 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-4.3.1 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-4.3 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-4.2.3 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-4.2.2 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-4.2.1 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-4.2 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-4.1.9 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-3.8.2 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-3.8.1 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-3.8.0 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-3.7.1 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-3.7.0 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-3.6.2 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-3.6.1 lib/generators/extension_mailer/templates/mailer.rb