Class: YouTubeG::Model::Comment

Inherits:
Record
  • Object
show all
Defined in:
lib/youtube_g/model/comment.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Record

#initialize

Constructor Details

This class inherits a constructor from YouTubeG::Record

Instance Attribute Details

#authorObject (readonly)

YouTubeG::Model::Author

Information about the YouTube user who owns a piece of video content.



17
18
19
# File 'lib/youtube_g/model/comment.rb', line 17

def author
  @author
end

#contentObject (readonly)

String

Description of the video.



14
15
16
# File 'lib/youtube_g/model/comment.rb', line 14

def content
  @content
end

#published_atObject (readonly)

Time

When the video was published on Youtube.



5
6
7
# File 'lib/youtube_g/model/comment.rb', line 5

def published_at
  @published_at
end

#titleObject (readonly)

String

Title for the video.



11
12
13
# File 'lib/youtube_g/model/comment.rb', line 11

def title
  @title
end

#updated_atObject (readonly)

Time

When the video’s data was last updated.



8
9
10
# File 'lib/youtube_g/model/comment.rb', line 8

def updated_at
  @updated_at
end