spaceship/lib/spaceship/tunes/app_ratings.rb in fastlane-2.102.0 vs spaceship/lib/spaceship/tunes/app_ratings.rb in fastlane-2.103.0
- old
+ new
@@ -44,11 +44,11 @@
(four_star_rating_count * 4) +
(five_star_rating_count * 5)) / rating_count.to_f).round(2)
end
# @return (Array) of Review Objects
- def reviews(store_front = '', version_id = '')
- raw_reviews = client.get_reviews(application.apple_id, application.platform, store_front, version_id)
+ def reviews(store_front = '', version_id = '', upto_date = nil)
+ raw_reviews = client.get_reviews(application.apple_id, application.platform, store_front, version_id, upto_date)
raw_reviews.map do |review|
review["value"]["application"] = self.application
AppReview.factory(review["value"])
end
end