Class: Tubeclip::Model::Comment
- Defined in:
- lib/tubeclip/model/comment.rb
Instance Attribute Summary collapse
-
#author ⇒ Object
readonly
- Tubeclip::Model::Author
-
Information about the YouTube user who owns a piece of video content.
-
#channel_id ⇒ Object
readonly
Returns the value of attribute channel_id.
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#gp_user_id ⇒ Object
readonly
Returns the value of attribute gp_user_id.
-
#published ⇒ Object
readonly
Returns the value of attribute published.
-
#reply_to ⇒ Object
readonly
Returns the value of attribute reply_to.
-
#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 Tubeclip::Record
Instance Attribute Details
#author ⇒ Object (readonly)
- Tubeclip::Model::Author
-
Information about the YouTube user who owns a piece of video content.
7 8 9 |
# File 'lib/tubeclip/model/comment.rb', line 7 def @author end |
#channel_id ⇒ Object (readonly)
Returns the value of attribute channel_id.
8 9 10 |
# File 'lib/tubeclip/model/comment.rb', line 8 def channel_id @channel_id end |
#content ⇒ Object (readonly)
Returns the value of attribute content.
4 5 6 |
# File 'lib/tubeclip/model/comment.rb', line 4 def content @content end |
#gp_user_id ⇒ Object (readonly)
Returns the value of attribute gp_user_id.
9 10 11 |
# File 'lib/tubeclip/model/comment.rb', line 9 def gp_user_id @gp_user_id end |
#published ⇒ Object (readonly)
Returns the value of attribute published.
4 5 6 |
# File 'lib/tubeclip/model/comment.rb', line 4 def published @published end |
#reply_to ⇒ Object (readonly)
Returns the value of attribute reply_to.
4 5 6 |
# File 'lib/tubeclip/model/comment.rb', line 4 def reply_to @reply_to end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
4 5 6 |
# File 'lib/tubeclip/model/comment.rb', line 4 def title @title end |
#updated ⇒ Object (readonly)
Returns the value of attribute updated.
4 5 6 |
# File 'lib/tubeclip/model/comment.rb', line 4 def updated @updated end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
4 5 6 |
# File 'lib/tubeclip/model/comment.rb', line 4 def url @url end |
Instance Method Details
#unique_id ⇒ Object
unique ID of the comment.
12 13 14 |
# File 'lib/tubeclip/model/comment.rb', line 12 def unique_id url.split(":").last end |