class CC::Thread

Overview

Belongs to a single Board and contains many Posts.

Included Modules

Defined in:

cc-lib/thread.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(id : UInt32, flags : Array(String) = [] of String, post_limit : UInt16 = 350, posts : Array(CC::Post) = [] of CC::Post) #

[View source]

Instance Method Detail

def add_post(post_options) #

[View source]
def flags : Array(String) #

[View source]
def flags=(flags : Array(String)) #

[View source]
def id : UInt32 #

[View source]
def id=(id : UInt32) #

[View source]
def post_limit : UInt16 #

[View source]
def post_limit=(post_limit : UInt16) #

[View source]
def posts : Array(CC::Post) #

[View source]
def posts=(posts : Array(CC::Post)) #

[View source]