class Post

Included Modules

Defined in:

models/post.cr:6
models/post.cr:8

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

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

Class Method Detail

def self.adapter : Granite::Adapter::Base #

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 published : Bool #

[View source]
def published=(published : Bool) #

[View source]
def title : String #

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

[View source]