lib/postmark/message_extensions/mail.rb in postmark-1.20.0 vs lib/postmark/message_extensions/mail.rb in postmark-1.21.0

- old
+ new

@@ -70,9 +70,15 @@ def template_model(model = nil) return @template_model if model.nil? @template_model = model end + attr_writer :message_stream + def message_stream(val = nil) + self.message_stream = val unless val.nil? + @message_stream + end + def templated? !!template_alias end def prerender