class AzuCLI::Generate::Mailer

Overview

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

Defined in:

azu_cli/generators/mailer.cr

Constant Summary

OUTPUT_DIR = "."

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, methods : Array(String) = [] of String, async : Bool = true) #

[View source]

Instance Method Detail

def ____collect_files(____files) #
Description copied from class Teeplate::FileTree

:nodoc:


[View source]
def __ecr0(____io) #

[View source]
def __ecr2(____io) #

[View source]
def adapter_config : String #

Generate Carbon adapter configuration


[View source]
def async : Bool #

[View source]
def async=(async : Bool) #

[View source]
def async_enabled? : Bool #

Check if async delivery is enabled


[View source]
def async_methods : String #

Generate async delivery methods if enabled


[View source]
def camel_case_name : String #

[View source]
def camel_case_name=(camel_case_name : String) #

[View source]
def dependencies : String #

Get dependencies info


[View source]
def mailer_methods : String #

Generate mailer method definitions using Carbon


[View source]
def methods : Array(String) #

[View source]
def methods=(methods : Array(String)) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def snake_case_name : String #

[View source]
def snake_case_name=(snake_case_name : String) #

[View source]
def template_names : Array(String) #

Get template names for generation


[View source]