Class: Yt::Comment

Inherits:
Resource show all
Defined in:
lib/yt/comment.rb

Overview

Provides methods to interact with YouTube comments.

Instance Attribute Summary collapse

Attributes inherited from Resource

#data

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_idString (readonly)

Returns the ID of the comment author’s YouTube channel.

Returns:

  • (String)

    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_urlString (readonly)

Returns the URL of the comment author’s YouTube channel.

Returns:

  • (String)

    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_nameString (readonly)

Returns the display name of the user who posted the comment.

Returns:

  • (String)

    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_urlString (readonly)

Returns the URL of the avatar of the user who posted the comment.

Returns:

  • (String)

    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