spaceship/lib/spaceship/tunes/tunes_client.rb in fastlane-2.72.0.beta.20171230010003 vs spaceship/lib/spaceship/tunes/tunes_client.rb in fastlane-2.72.0.beta.20171231010003
- old
+ new
@@ -532,11 +532,11 @@
end
handle_itc_response(r.body)
end
def price_tier(app_id)
- r = request(:get, "ra/apps/#{app_id}/pricing")
+ r = request(:get, "ra/apps/#{app_id}/pricing/intervals")
data = parse_response(r, 'data')
begin
data["pricingIntervalsFieldTO"]["value"].first["tierStem"]
rescue
@@ -1041,17 +1041,11 @@
def delete_iap!(app_id: nil, purchase_id: nil)
r = request(:delete, "ra/apps/#{app_id}/iaps/#{purchase_id}")
handle_itc_response(r)
end
- # Loads the iap prices for specific product
- def load_iap_prices(app_id: nil, purchase_id: nil)
- r = request(:get, "ra/apps/#{app_id}/iaps/#{purchase_id}/pricing")
- parse_response(r, 'data')
- end
-
- # Loads iap full details
- def load_iap_details(app_id: nil, purchase_id: nil)
+ # Loads the full In-App-Purchases
+ def load_iap(app_id: nil, purchase_id: nil)
r = request(:get, "ra/apps/#{app_id}/iaps/#{purchase_id}")
parse_response(r, 'data')
end
# Loads the full In-App-Purchases-Family