class Tremolite::Validator

Defined in:

tremolite/validator.cr

Constant Summary

Log = ::Log.for(self)

Constructors

Instance Method Summary

Constructor Detail

def self.new(blog : Tremolite::Blog) #

[View source]

Instance Method Detail

def blog : Tremolite::Blog #

[View source]
def custom_validators #

all custom written validators will be run within this method


[View source]
def error_in_object(object, error_string : String) #

[View source]
def error_in_post(post : Tremolite::Post, error_string : String) #

[View source]
def run #

[View source]
def url_written(url : String) #

[View source]
def warning_in_post(post : Tremolite::Post, error_string : String) #

[View source]