class Ruqqus::Post
Represents a post on Ruqqus
.
Public Instance Methods
comment_count()
click to toggle source
# File lib/ruqqus/types/post.rb, line 45 def comment_count @data[:comment_count] end
domain()
click to toggle source
# File lib/ruqqus/types/post.rb, line 49 def domain @data[:domain] end
embed_url()
click to toggle source
# File lib/ruqqus/types/post.rb, line 53 def embed_url @data[:embed_url] end
original_guild_name()
click to toggle source
# File lib/ruqqus/types/post.rb, line 57 def original_guild_name @data[:original_guild_name] end
thumb_url()
click to toggle source
# File lib/ruqqus/types/post.rb, line 61 def thumb_url @data[:thumb_url] end
url()
click to toggle source
# File lib/ruqqus/types/post.rb, line 65 def url #noinspection RubyYardReturnMatch @data[:url]&.empty? ? nil : @data[:url] end