class CC::Post
- CC::Post
- Reference
- Object
Overview
Belongs to a single Thread
and Board
.
Included Modules
- JSON::Serializable
Defined in:
cc-lib/post.crConstructors
- .new(pull : JSON::PullParser)
- .new(id : UInt64, badges : Array(String) = [] of String, flags : Array(String) = [] of String, text : String = "", media_link : String = "")
Instance Method Summary
- #badges : Array(String)
- #badges=(badges : Array(String))
- #flags : Array(String)
- #flags=(flags : Array(String))
- #id : UInt64
- #id=(id : UInt64)
- #media_link : String
- #media_link=(media_link : String)
- #text : String
- #text=(text : String)
Constructor Detail
def self.new(id : UInt64, badges : Array(String) = [] of String, flags : Array(String) = [] of String, text : String = "", media_link : String = "")
#