Class: YouTubeG::Model::Rating
- Defined in:
- lib/youtube_g/model/rating.rb
Instance Attribute Summary collapse
-
#average ⇒ Object
readonly
- Float
-
Average rating given to the video.
-
#max ⇒ Object
readonly
- Fixnum
-
Maximum rating that can be assigned to the video.
-
#min ⇒ Object
readonly
- Fixnum
-
Minimum rating that can be assigned to the video.
-
#rater_count ⇒ Object
readonly
- Fixnum
-
Indicates how many people have rated the video.
Method Summary
Methods inherited from Record
Constructor Details
This class inherits a constructor from YouTubeG::Record
Instance Attribute Details
#average ⇒ Object (readonly)
- Float
-
Average rating given to the video
5 6 7 |
# File 'lib/youtube_g/model/rating.rb', line 5 def average @average end |
#max ⇒ Object (readonly)
- Fixnum
-
Maximum rating that can be assigned to the video
8 9 10 |
# File 'lib/youtube_g/model/rating.rb', line 8 def max @max end |
#min ⇒ Object (readonly)
- Fixnum
-
Minimum rating that can be assigned to the video
11 12 13 |
# File 'lib/youtube_g/model/rating.rb', line 11 def min @min end |
#rater_count ⇒ Object (readonly)
- Fixnum
-
Indicates how many people have rated the video
14 15 16 |
# File 'lib/youtube_g/model/rating.rb', line 14 def rater_count @rater_count end |