Class: QuoteMailer

Inherits:
ApplicationMailer show all
Includes:
SendgridSmtpApi::InternalMailerHeaders
Defined in:
app/mailers/quote_mailer.rb

Overview

ActionMailer: customer-facing quote events.

Today this is just the rep-notification path for the customer-facing
quote-show shipping editor: when a customer updates the shipping
address or selected method on a transmitted quote, we send a heads-up
to the assigned rep with a diff and a link back to the CRM quote.

As we extend the customer-facing quote portal (transmit email,
accept-online, etc.), other quote-related mailers will land here.

Instance Method Summary collapse

Methods included from SendgridSmtpApi::InternalMailerHeaders

#mail

Methods inherited from ApplicationMailer

#null_mail

Instance Method Details

#default_url_optionsObject



20
21
22
# File 'app/mailers/quote_mailer.rb', line 20

def default_url_options
  UrlHelper.default_url_options(host: CRM_HOSTNAME)
end