Class: Tubeclip::Model::Activity

Inherits:
Record
  • Object
show all
Defined in:
lib/tubeclip/model/activity.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Record

#initialize

Constructor Details

This class inherits a constructor from Tubeclip::Record

Instance Attribute Details

#authorObject (readonly)

Attributes common to multiple activity types



5
6
7
# File 'lib/tubeclip/model/activity.rb', line 5

def author
  @author
end

#comment_thread_urlObject (readonly)

video_commented



11
12
13
# File 'lib/tubeclip/model/activity.rb', line 11

def comment_thread_url
  @comment_thread_url
end

#timeObject (readonly)

Attributes common to multiple activity types



5
6
7
# File 'lib/tubeclip/model/activity.rb', line 5

def time
  @time
end

#typeObject (readonly)

Attributes common to multiple activity types



5
6
7
# File 'lib/tubeclip/model/activity.rb', line 5

def type
  @type
end

#user_ratingObject (readonly)

video_rated



8
9
10
# File 'lib/tubeclip/model/activity.rb', line 8

def user_rating
  @user_rating
end

#usernameObject (readonly)

friend_added and user_subscription_added



14
15
16
# File 'lib/tubeclip/model/activity.rb', line 14

def username
  @username
end

#video_idObject (readonly)

Attributes common to multiple activity types



5
6
7
# File 'lib/tubeclip/model/activity.rb', line 5

def video_id
  @video_id
end

#video_ratingObject (readonly)

video_rated



8
9
10
# File 'lib/tubeclip/model/activity.rb', line 8

def video_rating
  @video_rating
end

#video_urlObject (readonly)

video_commented



11
12
13
# File 'lib/tubeclip/model/activity.rb', line 11

def video_url
  @video_url
end

#videosObject (readonly)

Attributes common to multiple activity types



5
6
7
# File 'lib/tubeclip/model/activity.rb', line 5

def videos
  @videos
end