Module: AutoPreviews::ActionMailerExtensions::ClassMethods
- Defined in:
- lib/auto_previews/action_mailer_extensions.rb
Instance Method Summary collapse
- #autopreview_configs ⇒ Object
-
#previews_for(options = {}) ⇒ Object
use an array so we can use only/except.
Instance Method Details
#autopreview_configs ⇒ Object
15 16 17 |
# File 'lib/auto_previews/action_mailer_extensions.rb', line 15 def autopreview_configs @_autopreview_configs ||= [] end |
#previews_for(options = {}) ⇒ Object
use an array so we can use only/except
11 12 13 |
# File 'lib/auto_previews/action_mailer_extensions.rb', line 11 def previews_for( = {}) autopreview_configs << () end |