Bamboo.SesAdapter.set_template_params
You're seeing just the function
set_template_params
, go back to Bamboo.SesAdapter module for more information.
Link to this function
set_template_params(mail, template_name, template_data, template_arn \\ nil)
View SourceSet the SES template params: name, data, ARN
Example
template_data = Jason.encode!(%{subject: "My subject", html: "<b>Bold text</b>", text: "Text"})
email
|> Bamboo.SesAdapter.set_template_params("my-template", template_data)
# or with template ARN
email
|> Bamboo.SesAdapter.set_template_params("my-template", template_data, "TEMPLATE ARN")