Record
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
per_page
Sourcewith_sources_as_json(favorites = false, limit = self.per_page, offset = 0, where = "")
SourceInstance methods
category
Sourcecategory!
Sourcecategory=(category : String | Nil)
Sourcecontent
Sourcecontent!
Sourcecontent=(content : String | Nil)
Sourcecreated_at
Sourcecreated_at!
Sourcecreated_at=(created_at : Time | Nil)
Sourcedeleted
Sourcedeleted=(deleted : Bool)
Sourcefavorite
Sourcefavorite=(favorite : Bool)
Sourceid
Sourceid!
Sourceid=(id : Int64 | Nil)
Sourcelink
Sourcelink=(link : String)
Sourcepubdate
Sourcepubdate!
Sourcepubdate=(pubdate : Time | Nil)
Sourcesource
Sourcesource!
Sourcesource_id
Sourcesource_id!
source_id=(source_id : Int64)
Sourcesource_id=(source_id : Int64 | Nil)
title
Sourcetitle=(title : String)
Sourceuid
Sourceuid=(uid : String)
Source