struct

Hwaro::Services::ContentInfo

Inherits JSON::Serializable / Struct / Value / Object

Information about a content file

Constructors

new(pull : JSON::PullParser)
Source
new(path : String, title : String = "Untitled", draft : Bool = false, date : Time | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

date
Source
date=(date : Time | Nil)
Source
draft
Source
draft=(draft : Bool)
Source
path
Source
path=(path : String)
Source
title
Source
title=(title : String)
Source

Nested types