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-2.0.9.pre.beta lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.8.pre.beta lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.7.pre.beta lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.5.pre.beta lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.4.pre.beta lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.3.pre.beta lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.2.pre.beta lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.1.pre.beta lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-2.0.0.pre.beta lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-1.2.29 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-1.2.28 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-1.1.28 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-1.1.27 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-1.1.26 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-1.1.25 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-1.1.24 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-1.1.23 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-1.1.22 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-1.1.21 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-1.1.20 lib/generators/extension_mailer/templates/mailer.rb