class Post

Included Modules

Defined in:

models/post.cr:1
models/post.cr:3

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : JSON::PullParser) #

Instance Method Detail

def body : String | Nil #

[View source]
def body! : String #

[View source]
def body=(body : String | Nil) #

[View source]
def id : Int64 | Nil #

[View source]
def id! : Int64 #

[View source]
def id=(id : Int64 | Nil) #

[View source]
def title : String | Nil #

[View source]
def title! : String #

[View source]
def title=(title : String | Nil) #

[View source]