class

CyberJyrki::Models::Reddit::Post

Inherits JSON::Serializable < Reference < Object

represents a reddit thread

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

author
Source
author=(author : String)
Source
image?
Source
is_self
Source
is_self=(is_self : Bool)
Source
post_hint
Source
post_hint=(post_hint : String | Nil)
Source
self?
Source
selftext
Source
selftext=(selftext : String)
Source
subreddit
Source
subreddit=(subreddit : String)
Source
title
Source
title=(title : String)
Source
url=(url : String)
Source