class Blogging::ArticleSchema

Defined in:

apps/blogging/schemas/article_schema.cr

Constant Summary

FIELDS_ = {"title" => {type: "string", kwargs: {min_size: 10, max_size: 255}}, "description" => {type: "string", kwargs: {max_size: 500}}, "body" => {type: "string", kwargs: {max_size: 100000}}, "tags" => {type: "string", kwargs: {required: false}}} of Nil => Nil

Instance Method Summary

Instance Method Detail

def body : String | Nil | Nil #

def body! #

def body? #

def description : String | Nil | Nil #

def description! #

def description? #

def slugified_title : String #

[View source]
def tags : String | Nil | Nil #

def tags! #

def tags? #

def tags_array #

[View source]
def title : String | Nil | Nil #

def title! #

def title? #