class Catalog::Category

Included Modules

Defined in:

catalog/category.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(name : String, description : String | Nil = nil, slug : Nil | String = nil) #

[View source]

Instance Method Detail

def description : String | Nil #

[View source]
def name : String #

[View source]
def shards : Array(Entry) #

[View source]
def slug : String | Nil #

def slug=(slug : String | Nil) #

[View source]
def slug? : String | Nil | Nil #