Sha256: 1195614709c54c9e71ce155bea45efe06c343852ee12caaf3b672d463b1d84e3

Contents?: true

Size: 195 Bytes

Versions: 10

Compression:

Stored size: 195 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

10 entries across 10 versions & 1 rubygems

Version Path
mail_form-1.8.0 lib/generators/rails/templates/model.rb
mail_form-1.7.1 lib/generators/rails/templates/model.rb
mail_form-1.7.0 lib/generators/rails/templates/model.rb
mail_form-1.6.0 lib/generators/rails/templates/model.rb
mail_form-1.5.1 lib/generators/rails/templates/model.rb
mail_form-1.5.0 lib/generators/rails/templates/model.rb
mail_form-1.5.0.rc lib/generators/rails/templates/model.rb
mail_form-1.4.1 lib/generators/rails/templates/model.rb
mail_form-1.4.0 lib/generators/rails/templates/model.rb
mail_form-1.3.0 lib/generators/rails/templates/model.rb