AzuCLI::Generate::ActionEndpoint
Inherits Teeplate::FileTree < Reference < Object
Single action endpoint generator for Teeplate
Constructors
new(name : String, action : String, endpoint_type : String, snake_case_name : String, module_name : String = "App", fields : Hash(String, String) = {} of String => String, scaffold : Bool = false)
SourceInstance methods
__ecr0(____io)
Source__ecr10(____io)
Source__ecr12(____io)
Source__ecr14(____io)
Source__ecr2(____io)
Source__ecr4(____io)
Source__ecr6(____io)
Source__ecr8(____io)
Sourceaction
Sourceaction=(action : String)
Sourceendpoint_type
Sourceendpoint_type=(endpoint_type : String)
Sourcefields
Sourcefields=(fields : Hash(String, String))
Sourcemodule_name
Sourcemodule_name=(module_name : String)
Sourcename
Sourcename=(name : String)
Sourcename_action
Sourceresource_plural
Sourceresource_plural=(resource_plural : String)
Sourceresource_singular
Sourceresource_singular=(resource_singular : String)
Sourceresponse_type
Sourcescaffold
Sourcescaffold=(scaffold : Bool)
Sourcesnake_case_name
Sourcesnake_case_name=(snake_case_name : String)
Source