class
AzuCLI::Generate::Session
- AzuCLI::Generate::Session
- Teeplate::FileTree
- Reference
- Object
Overview
Session generator
Defined in:
azu_cli/generators/session.crConstant Summary
-
OUTPUT_DIR =
"."
Constructors
Instance Method Summary
-
#____collect_files(____files)
:nodoc:
- #__ecr0(____io)
-
#backend : String
Get backend type for conditional requires
- #backend=(backend : String)
-
#dependencies : String
Get required dependencies
-
#migration_content : String
Get migration content for database backend
-
#needs_migration? : Bool
Check if migration is needed
- #project : String
- #project=(project : String)
- #secret : String
- #secret=(secret : String)
Constructor Detail
def self.new(project : String, backend : String = "redis", secret : String = Random::Secure.hex(32))
#