generators/emails/templates/example_email.rb in howitzer-1.1.1 vs generators/emails/templates/example_email.rb in howitzer-2.0.0
- old
+ new
@@ -1,8 +1,8 @@
-class TestEmail < Email
- SUBJECT = "Test email"
+# This class is example of test email
+class TestEmail < Howitzer::Email
+ subject 'Test email'
-
def addressed_to?(new_user)
/Hi #{new_user}/ === plain_text_body
end
-end
\ No newline at end of file
+end