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.cr

Instance Method Summary

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.


[View source]
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.


[View source]