spaceship/lib/spaceship/test_flight/client.rb in fastlane-2.29.0.beta.20170424010049 vs spaceship/lib/spaceship/test_flight/client.rb in fastlane-2.29.0.beta.20170425010038
- old
+ new
@@ -18,9 +18,23 @@
response = request(:get, "providers/#{team_id}/apps/#{app_id}/platforms/#{platform}/trains/#{train_version}/builds")
handle_response(response)
end
+ def testers_for_app(app_id: nil)
+ assert_required_params(__method__, binding)
+ url = "providers/#{team_id}/apps/#{app_id}/testers"
+ response = request(:get, url)
+ handle_response(response)
+ end
+
+ def delete_tester_from_app(app_id: nil, tester_id: nil)
+ assert_required_params(__method__, binding)
+ url = "providers/#{team_id}/apps/#{app_id}/testers/#{tester_id}"
+ response = request(:delete, url)
+ handle_response(response)
+ end
+
def post_tester(app_id: nil, tester: nil)
assert_required_params(__method__, binding)
url = "providers/#{team_id}/apps/#{app_id}/testers"
response = request(:post) do |req|
req.url url