Class: Spree::MarketplaceOrderMailer
- Inherits:
-
BaseMailer
- Object
- BaseMailer
- Spree::MarketplaceOrderMailer
- Defined in:
- app/mailers/spree/marketplace_order_mailer.rb
Instance Method Summary collapse
Instance Method Details
#supplier_order(shipment_id) ⇒ Object
6 7 8 9 10 |
# File 'app/mailers/spree/marketplace_order_mailer.rb', line 6 def supplier_order(shipment_id) @shipment = Shipment.find shipment_id @supplier = @shipment.supplier mail to: @supplier.email, subject: Spree.t('marketplace_order_mailer.supplier_order.subject', name: Spree::Store.current.name, number: @shipment.number) end |