Class: Yt::Models::CommentThread

Inherits:
Resource
  • Object
show all
Defined in:
lib/yt/models/comment_thread.rb

Overview

Provides methods to interact with YouTube channels.

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #privacy_status

Instance Method Summary collapse

Methods inherited from Resource

#private?, #unlisted?

Instance Attribute Details

#total_reply_countString (readonly)

in response to the top-level comment.

Returns:

  • (String)

    The total number of replies that have been submitted



20
# File 'lib/yt/models/comment_thread.rb', line 20

delegate :total_reply_count, to: :snippet

#video_idString (readonly)

any. If this property is not present or does not have a value, then the thread applies to the channel and not to a specific video.

Returns:

  • (String)

    the ID of the video that the comments refer to, if



15
# File 'lib/yt/models/comment_thread.rb', line 15

delegate :video_id, to: :snippet

Instance Method Details

#can_reply?Boolean

Returns whether the current viewer can reply to the thread.

Returns:

  • (Boolean)

    whether the current viewer can reply to the thread.



27
# File 'lib/yt/models/comment_thread.rb', line 27

delegate :can_reply?, to: :snippet

#public?Boolean

comment replies, is visible to all YouTube users.

Returns:

  • (Boolean)

    whether the thread, including all of its comments and



24
# File 'lib/yt/models/comment_thread.rb', line 24

delegate :public?, to: :snippet