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-1.1.0.rc1 lib/generators/extension_mailer/templates/mailer.rb
trusty-cms-1.0.1 lib/generators/extension_mailer/templates/mailer.rb