spaceship/lib/spaceship/tunes/tunes_client.rb in fastlane-2.116.0 vs spaceship/lib/spaceship/tunes/tunes_client.rb in fastlane-2.116.1
- old
+ new
@@ -1191,9 +1191,15 @@
def load_iap(app_id: nil, purchase_id: nil)
r = request(:get, "ra/apps/#{app_id}/iaps/#{purchase_id}")
parse_response(r, 'data')
end
+ # Submit the In-App-Purchase for review
+ def submit_iap!(app_id: nil, purchase_id: nil)
+ r = request(:post, "ra/apps/#{app_id}/iaps/#{purchase_id}/submission")
+ handle_itc_response(r)
+ end
+
# Loads the full In-App-Purchases-Family
def load_iap_family(app_id: nil, family_id: nil)
r = request(:get, "ra/apps/#{app_id}/iaps/family/#{family_id}")
parse_response(r, 'data')
end