lib/spaceship/tunes/application.rb in spaceship-0.31.10 vs lib/spaceship/tunes/application.rb in spaceship-0.32.0

- old
+ new

@@ -118,9 +118,15 @@ # `{"sectionErrorKeys"=>[], "sectionInfoKeys"=>[], "sectionWarningKeys"=>[], "replyConstraints"=>{"minLength"=>1, "maxLength"=>4000}, "appNotes"=>{"threads"=>[]}, "betaNotes"=>{"threads"=>[]}, "appMessages"=>{"threads"=>[]}}` def resolution_center client.get_resolution_center(apple_id, platform) end + def ratings + attrs = client.get_rating_summary(apple_id, platform) + attrs[:application] = self + Tunes::AppRatings.factory(attrs) + end + # kept for backward compatibility # tries to guess the platform of the currently submitted apps # note that as ITC now supports multiple app types, this might break # if your app supports more than one def platform