Sha256: 77ec792a6c71fd020bf9b0660910a037e2b0840630a825ecd01116beed9db8f1

Contents?: true

Size: 193 Bytes

Versions: 4

Compression:

Stored size: 193 Bytes

Contents

class <%= class_name %> < MailForm::Base
<% attributes.each do |attribute| -%>
  attribute :<%= attribute.name %>
<% end -%>

  def headers
    { to: "PLEASE-CHANGE-ME@example.org" }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mail_form-1.10.1 lib/generators/rails/templates/model.rb
mail_form-1.10.0 lib/generators/rails/templates/model.rb
mail_form-1.9.0 lib/generators/rails/templates/model.rb
mail_form-1.8.1 lib/generators/rails/templates/model.rb