Class: Yt::Comment
Overview
Provides methods to interact with YouTube comments.
Instance Attribute Summary collapse
-
#author_channel_id ⇒ String
readonly
The ID of the comment author’s YouTube channel.
-
#author_channel_url ⇒ String
readonly
The URL of the comment author’s YouTube channel.
-
#author_display_name ⇒ String
readonly
The display name of the user who posted the comment.
-
#author_profile_image_url ⇒ String
readonly
The URL of the avatar of the user who posted the comment.
Attributes inherited from Resource
Method Summary
Methods inherited from Resource
#id, #initialize, #inspect, #select, where
Constructor Details
This class inherits a constructor from Yt::Resource
Instance Attribute Details
#author_channel_id ⇒ String (readonly)
Returns the ID of the comment author’s YouTube channel.
7 |
# File 'lib/yt/comment.rb', line 7 has_attribute :text_display, in: :snippet |
#author_channel_url ⇒ String (readonly)
Returns the URL of the comment author’s YouTube channel.
19 |
# File 'lib/yt/comment.rb', line 19 has_attribute :author_channel_url, in: :snippet |
#author_display_name ⇒ String (readonly)
Returns the display name of the user who posted the comment.
11 |
# File 'lib/yt/comment.rb', line 11 has_attribute :author_display_name, in: :snippet |
#author_profile_image_url ⇒ String (readonly)
Returns the URL of the avatar of the user who posted the comment.
15 |
# File 'lib/yt/comment.rb', line 15 has_attribute :author_profile_image_url, in: :snippet |