Class: Mail::Message
- Inherits:
-
Object
- Object
- Mail::Message
- Defined in:
- lib/caffeinate/mail_ext.rb
Overview
Extend Mail::Message to account for a Caffeinate::Mailing
Instance Attribute Summary collapse
-
#caffeinate_mailing ⇒ Object
Returns the value of attribute caffeinate_mailing.
Instance Method Summary collapse
Instance Attribute Details
#caffeinate_mailing ⇒ Object
Returns the value of attribute caffeinate_mailing.
10 11 12 |
# File 'lib/caffeinate/mail_ext.rb', line 10 def caffeinate_mailing @caffeinate_mailing end |
Instance Method Details
#caffeinate? ⇒ Boolean
19 20 21 |
# File 'lib/caffeinate/mail_ext.rb', line 19 def caffeinate? caffeinate_mailing.present? end |