Action Mailer uses Action View to generate message bodies from a template and a set of variables.
Action Messenger should take a similar approach such that template_name.txt.erb will evaluate ERB and use it as the plain text body.
This will improve testability of code which uses Action Messenger.
Action Mailer uses Action View to generate message bodies from a template and a set of variables.
Action Messenger should take a similar approach such that template_name.txt.erb will evaluate ERB and use it as the plain text body.
This will improve testability of code which uses Action Messenger.