Class: Postmark::MailMessageConverter
- Inherits:
-
Object
- Object
- Postmark::MailMessageConverter
- Defined in:
- lib/postmark/mail_message_converter.rb
Instance Method Summary collapse
-
#initialize(message) ⇒ MailMessageConverter
constructor
A new instance of MailMessageConverter.
- #run ⇒ Object
Constructor Details
#initialize(message) ⇒ MailMessageConverter
Returns a new instance of MailMessageConverter.
5 6 7 |
# File 'lib/postmark/mail_message_converter.rb', line 5 def initialize() @message = end |
Instance Method Details
#run ⇒ Object
9 10 11 |
# File 'lib/postmark/mail_message_converter.rb', line 9 def run delete_blank_fields(pick_fields(convert, @message.templated?)) end |