Class: Workarea::Storefront::InventoryUpdateMailerPreview
- Inherits:
-
ActionMailer::Preview
- Object
- ActionMailer::Preview
- Workarea::Storefront::InventoryUpdateMailerPreview
- Defined in:
- lib/workarea/mailer_previews/inventory_update_mailer_preview.rb
Instance Method Summary collapse
Instance Method Details
#notify ⇒ Object
4 5 6 7 8 9 |
# File 'lib/workarea/mailer_previews/inventory_update_mailer_preview.rb', line 4 def notify product = Catalog::Product.first InventoryUpdateMailer .notify(product.id, product.skus.first, '[email protected]') end |