Class: YouTubeIt::Model::Comment
- Defined in:
- lib/youtube_it/model/comment.rb
Instance Attribute Summary collapse
-
#author ⇒ Object
readonly
- YouTubeIt::Model::Author
-
Information about the YouTube user who owns a piece of video content.
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#published ⇒ Object
readonly
Returns the value of attribute published.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#updated ⇒ Object
readonly
Returns the value of attribute updated.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#unique_id ⇒ Object
unique ID of the comment.
Methods inherited from Record
Constructor Details
This class inherits a constructor from YouTubeIt::Record
Instance Attribute Details
#author ⇒ Object (readonly)
- YouTubeIt::Model::Author
-
Information about the YouTube user who owns a piece of video content.
7 8 9 |
# File 'lib/youtube_it/model/comment.rb', line 7 def @author end |
#content ⇒ Object (readonly)
Returns the value of attribute content.
4 5 6 |
# File 'lib/youtube_it/model/comment.rb', line 4 def content @content end |
#published ⇒ Object (readonly)
Returns the value of attribute published.
4 5 6 |
# File 'lib/youtube_it/model/comment.rb', line 4 def published @published end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
4 5 6 |
# File 'lib/youtube_it/model/comment.rb', line 4 def title @title end |
#updated ⇒ Object (readonly)
Returns the value of attribute updated.
4 5 6 |
# File 'lib/youtube_it/model/comment.rb', line 4 def updated @updated end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
4 5 6 |
# File 'lib/youtube_it/model/comment.rb', line 4 def url @url end |
Instance Method Details
#unique_id ⇒ Object
unique ID of the comment.
10 11 12 |
# File 'lib/youtube_it/model/comment.rb', line 10 def unique_id url.split("/").last end |