require "app_store/base" # Each Application can have multiple user reviews. # Available attributes: # * average_user_rating: rating given by the user for the application. # * user_name: name of the user who made the rating. # * title: title of the rating (probably some internal apple stuff). # * text: comment leaved by the user. class AppStore::UserReview < AppStore::Base plist :accepted_type => 'review', :mapping => { 'average-user-rating' => :average_user_rating, 'user-name' => :user_name, # TODO : parse user_name to separate username and comment date 'title' => :title, 'text' => :text } end