module Avram::Validations

Defined in:

charms.cr

Instance Method Summary

Instance Method Detail

def validate_domain(*attributes, message : Avram::Attribute::ErrorMessage = "is invalid") #

[View source]
def validate_email(*attributes, message : Avram::Attribute::ErrorMessage = "is invalid") #

[View source]
def validate_ip(*attributes, message : Avram::Attribute::ErrorMessage = "is invalid") #

[View source]
def validate_ip4(*attributes, message : Avram::Attribute::ErrorMessage = "is invalid") #

[View source]
def validate_ip6(*attributes, message : Avram::Attribute::ErrorMessage = "is invalid") #

[View source]
def validate_name(*attributes, message : Avram::Attribute::ErrorMessage = "is invalid") #

[View source]
def validate_url(*attributes, message : Avram::Attribute::ErrorMessage = "is invalid") #

[View source]
def validate_username(*attributes, message : Avram::Attribute::ErrorMessage = "is invalid") #

[View source]