struct DynFork::Globals::Types::ValidationCacheSettings
- DynFork::Globals::Types::ValidationCacheSettings
- Struct
- Value
- Object
Overview
Validation global DynFork settings.
Defined in:
dynfork/globals/types.crConstructors
Class Method Summary
-
.valid_app_name(app_name : String) : Nil
App name = Project name.
-
.valid_database_name(database_name : String) : Nil
Database name.
-
.valid_unique_app_key(unique_app_key : String) : Nil
Unique project key.
- .validation : Nil
Instance Method Summary
Constructor Detail
Class Method Detail
def self.valid_app_name(app_name : String) : Nil
#
App name = Project name.
WARNING Maximum 44 characters.
WARNING Match regular expression: /^[a-zA-Z][-_a-zA-Z0-9]{0,43}$/
def self.valid_database_name(database_name : String) : Nil
#
Database name.
WARNING Maximum 60 characters.
def self.valid_unique_app_key(unique_app_key : String) : Nil
#
Unique project key.
WARNING Match regular expression: /^[a-zA-Z0-9]{16}$/