Class: YouTubeIt::Model::Activity
- Defined in:
- lib/youtube_it/model/activity.rb
Instance Attribute Summary collapse
-
#author ⇒ Object
readonly
Attributes common to multiple activity types.
-
#comment_thread_url ⇒ Object
readonly
video_commented.
-
#time ⇒ Object
readonly
Attributes common to multiple activity types.
-
#type ⇒ Object
readonly
Attributes common to multiple activity types.
-
#user_rating ⇒ Object
readonly
video_rated.
-
#username ⇒ Object
readonly
friend_added and user_subscription_added.
-
#video_id ⇒ Object
readonly
Attributes common to multiple activity types.
-
#video_rating ⇒ Object
readonly
video_rated.
-
#video_url ⇒ Object
readonly
video_commented.
-
#videos ⇒ Object
readonly
Attributes common to multiple activity types.
Method Summary
Methods inherited from Record
Constructor Details
This class inherits a constructor from YouTubeIt::Record
Instance Attribute Details
#author ⇒ Object (readonly)
Attributes common to multiple activity types
5 6 7 |
# File 'lib/youtube_it/model/activity.rb', line 5 def @author end |
#comment_thread_url ⇒ Object (readonly)
video_commented
11 12 13 |
# File 'lib/youtube_it/model/activity.rb', line 11 def comment_thread_url @comment_thread_url end |
#time ⇒ Object (readonly)
Attributes common to multiple activity types
5 6 7 |
# File 'lib/youtube_it/model/activity.rb', line 5 def time @time end |
#type ⇒ Object (readonly)
Attributes common to multiple activity types
5 6 7 |
# File 'lib/youtube_it/model/activity.rb', line 5 def type @type end |
#user_rating ⇒ Object (readonly)
video_rated
8 9 10 |
# File 'lib/youtube_it/model/activity.rb', line 8 def @user_rating end |
#username ⇒ Object (readonly)
friend_added and user_subscription_added
14 15 16 |
# File 'lib/youtube_it/model/activity.rb', line 14 def username @username end |
#video_id ⇒ Object (readonly)
Attributes common to multiple activity types
5 6 7 |
# File 'lib/youtube_it/model/activity.rb', line 5 def video_id @video_id end |
#video_rating ⇒ Object (readonly)
video_rated
8 9 10 |
# File 'lib/youtube_it/model/activity.rb', line 8 def @video_rating end |
#video_url ⇒ Object (readonly)
video_commented
11 12 13 |
# File 'lib/youtube_it/model/activity.rb', line 11 def video_url @video_url end |
#videos ⇒ Object (readonly)
Attributes common to multiple activity types
5 6 7 |
# File 'lib/youtube_it/model/activity.rb', line 5 def videos @videos end |