👨👩👦
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (BOOL)isNowAGoodTimeForADrink { | |
return YES; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add me in lib or somewhere | |
# lib/postmark_patch.rb | |
Mail::Message.class_eval do | |
def html? | |
content_type_without_symbol && content_type_without_symbol.include?('text/html') | |
end | |
end |