class

AzuCLI::Generate::Mailer

Inherits Teeplate::FileTree < Reference < Object

Mailer generator for email functionality using Carbon Carbon: https://github.com/luckyframework/carbon

Constants

OUTPUT_DIR = "."

Constructors

new(name : String, methods : Array(String) = [] of String, async : Bool = true)
Source

Instance methods

____collect_files(____files)

:nodoc:

Source
__ecr0(____io)
Source
__ecr2(____io)
Source
adapter_config

Generate Carbon adapter configuration

Source
async
Source
async=(async : Bool)
Source
async_enabled?

Check if async delivery is enabled

Source
async_methods

Generate async delivery methods if enabled

Source
camel_case_name
Source
camel_case_name=(camel_case_name : String)
Source
dependencies

Get dependencies info

Source
mailer_methods

Generate mailer method definitions using Carbon

Source
methods
Source
methods=(methods : Array(String))
Source
name
Source
name=(name : String)
Source
snake_case_name
Source
snake_case_name=(snake_case_name : String)
Source
template_names

Get template names for generation

Source