Sha256: 89435303f400ad2c321d94f3b5218cd4b09b156194f0530028535c9db7d7c0ff
Contents?: true
Size: 345 Bytes
Versions: 1
Compression:
Stored size: 345 Bytes
Contents
module Mail class Message def tag self["TAG"] end def tag=(value) self["TAG"] = value end def body_html unless html_part.nil? html_part.body.to_s end end def body_text if text_part.nil? body.to_s else text_part.body.to_s end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
postmark-0.8.0 | lib/postmark/mail_message_extension.rb |