class AzuCLI::Generate::Session

Overview

Session generator

Defined in:

azu_cli/generators/session.cr

Constant Summary

OUTPUT_DIR = "."

Constructors

Instance Method Summary

Constructor Detail

def self.new(project : String, backend : String = "redis", secret : String = Random::Secure.hex(32)) #

[View source]

Instance Method Detail

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

:nodoc:


[View source]
def __ecr0(____io) #

[View source]
def backend : String #

Get backend type for conditional requires


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

[View source]
def dependencies : String #

Get required dependencies


[View source]
def migration_content : String #

Get migration content for database backend


[View source]
def needs_migration? : Bool #

Check if migration is needed


[View source]
def project : String #

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

[View source]
def secret : String #

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

[View source]