lib/postmark_delivery_method.rb in postmark-rails-0.4.0 vs lib/postmark_delivery_method.rb in postmark-rails-0.4.1

- old
+ new

@@ -30,10 +30,10 @@ def postmark_attachments(value) @attachments = value end def create_mail_with_postmark_extras - returning create_mail_without_postmark_extras do |mail| + create_mail_without_postmark_extras.tap do |mail| mail.tag = @tag if @tag mail.postmark_attachments = @attachments if @attachments end end \ No newline at end of file