Sha256: b0b772e2c5488187d5afc7b10a7e14c15238428c7bbed94d2f85065cdbc5417e

Contents?: true

Size: 287 Bytes

Versions: 4

Compression:

Stored size: 287 Bytes

Contents

module Workarea
  module Storefront
    class InventoryUpdateMailerPreview < ActionMailer::Preview
      def notify
        product = Catalog::Product.first

        InventoryUpdateMailer
          .notify(product.id, product.skus.first, 'user@workarea.com')
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
workarea-inventory_notifications-2.1.5 lib/workarea/mailer_previews/inventory_update_mailer_preview.rb
workarea-inventory_notifications-2.1.4 lib/workarea/mailer_previews/inventory_update_mailer_preview.rb
workarea-inventory_notifications-2.1.3 lib/workarea/mailer_previews/inventory_update_mailer_preview.rb
workarea-inventory_notifications-2.1.2 lib/workarea/mailer_previews/inventory_update_mailer_preview.rb