class Yt::CommentThread
Provides methods to interact with YouTube comment threads. @see developers.google.com/youtube/v3/docs/commentThreads
Public Instance Methods
comments()
click to toggle source
@return [Yt::Relation<Yt::Comment>] the comments of a thread.
# File lib/yt/comment_thread.rb, line 20 def comments @comments ||= Relation.new(Comment, parent_id: id, initial_items: -> {[top_level_comment]}) do |options| get '/youtube/v3/comments', thread_comments_params(options) end end