class Record

Included Modules

Defined in:

models.cr:20
models.cr:22

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 #

def self.per_page #

[View source]
def self.with_sources_as_json(favorites = false, limit = self.per_page, offset = 0, where = "") #

[View source]

Instance Method Detail

def category : String | Nil #

[View source]
def category! : String #

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

[View source]
def content : String | Nil #

[View source]
def content! : String #

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

[View source]
def created_at : Time | Nil #

[View source]
def created_at! : Time #

[View source]
def created_at=(created_at : Time | Nil) #

[View source]
def deleted : Bool #

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

[View source]
def favorite : Bool #

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

[View source]
def id : Int64 | Nil #

[View source]
def id! : Int64 #

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

[View source]
def link : String #

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

[View source]
def pubdate : Time | Nil #

[View source]
def pubdate! : Time #

[View source]
def pubdate=(pubdate : Time | Nil) #

[View source]
def source : Source | Nil #

[View source]
def source! : Source #

[View source]
def source=(parent : Source) #

[View source]
def source_id : Int64 #

[View source]
def source_id! : Int64 #

def source_id=(source_id : Int64) #

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

def title : String #

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

[View source]
def uid : String #

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

[View source]