Class: Yt::Models::Comment

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

Overview

Provides methods to interact with YouTube comment.

Constant Summary

Constants inherited from Resource

Resource::CHANNEL_PATTERNS, Resource::PLAYLIST_PATTERNS, Resource::VIDEO_PATTERNS

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #privacy_status

Method Summary

Methods inherited from Resource

#private?, #public?, #unlisted?

Instance Attribute Details

#author_display_nameString (readonly)



17
# File 'lib/yt/models/comment.rb', line 17

delegate :author_display_name, to: :snippet

#like_countInteger (readonly)



30
# File 'lib/yt/models/comment.rb', line 30

delegate :like_count, to: :snippet

#parent_idString (readonly)

set if the comment was submitted as a reply to another comment.



26
# File 'lib/yt/models/comment.rb', line 26

delegate :parent_id, to: :snippet

#text_displayString (readonly)



21
# File 'lib/yt/models/comment.rb', line 21

delegate :text_display, to: :snippet

#updated_atTime (readonly)



34
# File 'lib/yt/models/comment.rb', line 34

delegate :updated_at, to: :snippet

#video_idString (readonly)



13
# File 'lib/yt/models/comment.rb', line 13

delegate :video_id, to: :snippet