lib/youtube_g/model/rating.rb in youtube-g-0.4.1 vs lib/youtube_g/model/rating.rb in youtube-g-0.4.9.9
- old
+ new
@@ -1,10 +1,17 @@
class YouTubeG
module Model
class Rating < YouTubeG::Record
+ # *Float*:: Average rating given to the video
attr_reader :average
+
+ # *Fixnum*:: Maximum rating that can be assigned to the video
attr_reader :max
+
+ # *Fixnum*:: Minimum rating that can be assigned to the video
attr_reader :min
+
+ # *Fixnum*:: Indicates how many people have rated the video
attr_reader :rater_count
end
end
end