Class | MusicBrainz::Model::Rating |
In: |
lib/rbrainz/model/rating.rb
|
Parent: | Object |
Represents a rating of an entity.
MusicBrainz allows it‘s users to rate artists, labels, releases and tracks. Each user rating will be a Float between 1 and 5 or nil, where nil means no rating. The system will aggregate user ratings to compute the average community rating.
See: | wiki.musicbrainz.org/RatingSystem |
count | [RW] | The rating count indicating how often entity was rated. |
value | [RW] | The rating (an Float between 1 and 5). If :count is greater than 1 this will be the average rating. |