class

Website::News

Inherits Marten::Template::Object::Auto / Marten::Template::Object / Marten::Template::CanDefineTemplateAttributes / Reference / Object

Constructors

new(slug : String, title : String, description : String, author_name : String, author_github : String, content : String)
Source

Class methods

get(slug : String) : News | Nil
Source
page(page : Int) : Array(News)
Source

Instance methods

author_github
Source
author_name
Source
description
Source
formatted_publication_date
Source
html
Source
publication_date
Source
slug
Source
title
Source