Class: Comee::Core::BackOrderNotification
- Inherits:
-
Noticed::Base
- Object
- Noticed::Base
- Comee::Core::BackOrderNotification
- Defined in:
- app/notifications/comee/core/back_order_notification.rb
Instance Method Summary collapse
Instance Method Details
#message ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'app/notifications/comee/core/back_order_notification.rb', line 9 def back_order = params[:back_order] title = "New Order Notification" date = Date.current content = <<~CONTENT A new purchase order with the following details has been sent to you: order number: #{back_order.order_number} order date: #{back_order.order_date} delivery date: #{back_order.delivery_date} CONTENT {title: title, date: date, content: content} end |