class

Post

Inherits YAML::Serializable < JSON::Serializable < Granite::Base < Granite::Select < Granite::Migrator < Granite::ValidationHelpers < Granite::Validators < Granite::Transactions < Granite::Tables < Granite::Columns < Granite::Callbacks < Granite::Associations < Reference < Object

Constructors

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Class methods

adapter

Instance methods

body
Source
body!
Source
body=(body : String | Nil)
Source
id=(id : Int64 | Nil)
Source
published
Source
published=(published : Bool)
Source
title
Source
title=(title : String)
Source