Module: Posthaste::MessageExtensions
- Defined in:
- lib/posthaste/result.rb
Overview
Mail::Message#posthaste_result.
The only method this gem adds to somebody else's class, and it is additive: it reads an instance variable this gem set and returns nil otherwise, so a message delivered by any other delivery method is unaffected.
Instance Method Summary collapse
Instance Method Details
#posthaste_result ⇒ Object
57 58 59 |
# File 'lib/posthaste/result.rb', line 57 def posthaste_result defined?(@posthaste_result) ? @posthaste_result : nil end |