module Carbon::SendGridExtensions
Overview
https://docs.sendgrid.com/ui/sending-email/how-to-send-an-email-with-dynamic-transactional-templates
Direct including types
Defined in:
carbon_sendgrid_extensions.crInstance Method Summary
-
#dynamic_template_data
Define the dynamic data to be replaced in your email template.
-
#template_id
Define the dynamic template_id to use when sending an email.
Instance Method Detail
def dynamic_template_data
#
Define the dynamic data to be replaced
in your email template. This should be a
dynamic Hash(String, Any) where the keys
must match with your template values.
If nil
, then no data is sent.
def template_id
#
Define the dynamic template_id to use
when sending an email. This will be a
String value of the template defined
in SendGrid. If nil
, then use the
Carbon template system.