struct Launch::Validators::ValidationBuilder

Defined in:

launch/validators/params.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

blank? blank?, present? present?

Constructor Detail

def self.new(_validator : Params) #

[View source]

Instance Method Detail

def _validator : Params #

def clone #

[View source]
def copy_with(_validator __validator = @_validator) #

[View source]
def optional(param : String | Symbol, msg : String | Nil = nil, allow_blank = true) #

[View source]
def optional(param : String | Symbol, msg : String | Nil = nil, allow_blank = true, &b : String -> Bool) #

[View source]
def required(param : String | Symbol, msg : String | Nil = nil, allow_blank = false) #

[View source]
def required(param : String | Symbol, msg : String | Nil = nil, allow_blank = false, &b : String -> Bool) #

[View source]