module Shoppe::NotificationEmails
Constants
- VERSION
Public Class Methods
setup()
click to toggle source
# File lib/shoppe/notification_emails.rb, line 8 def setup # When an order is placed, send an email to staff Shoppe::Order.before_confirmation do Shoppe::NotificationMailer.order_received(self).deliver end end