Class: Tape::Adapteres::ActionMailer::Cache
- Inherits:
-
Base
- Object
- Base
- Tape::Adapteres::ActionMailer::Cache
- Defined in:
- lib/tape/adapters/action_mailer/cache.rb
Overview
For ActionMailer with delivery_method = :cache
Instance Method Summary collapse
Instance Method Details
#all ⇒ Object
10 11 12 |
# File 'lib/tape/adapters/action_mailer/cache.rb', line 10 def all ActionMailer::Base.cached_deliveries end |
#last ⇒ Object
14 15 16 |
# File 'lib/tape/adapters/action_mailer/cache.rb', line 14 def last ActionMailer::Base.cached_deliveries.last end |
#reset ⇒ Object
18 19 20 |
# File 'lib/tape/adapters/action_mailer/cache.rb', line 18 def reset ActionMailer::Base.clear_cache end |