class Post

Defined in:

models/post.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(id : Int64, url : String, kudos : Int64, indexer : Indexer) #

[View source]

Class Method Detail

def self.from_row(row : DB::ResultSet, indexer : Indexer) #

[View source]

Instance Method Detail

def id : Int64 #

[View source]
def kudos : Int64 #

[View source]
def name #

[View source]
def path #

[View source]
def thumbnail(force : Bool = false) #

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

[View source]
def type #

[View source]
def url : String #

[View source]