spaceship/lib/spaceship/test_flight/client.rb in fastlane-2.54.0.beta.20170822010003 vs spaceship/lib/spaceship/test_flight/client.rb in fastlane-2.54.0
- old
+ new
@@ -110,9 +110,17 @@
url = "providers/#{team_id}/apps/#{app_id}/testers/#{tester_id}"
response = request(:delete, url)
handle_response(response)
end
+ def search_for_tester_in_app(app_id: nil, text: nil)
+ assert_required_params(__method__, binding)
+ text = CGI.escape(text)
+ url = "providers/#{team_id}/apps/#{app_id}/testers?order=asc&search=#{text}&sort=status"
+ response = request(:get, url)
+ handle_response(response)
+ end
+
def resend_invite_to_external_tester(app_id: nil, tester_id: nil)
assert_required_params(__method__, binding)
url = "/testflight/v1/invites/#{app_id}/resend?testerId=#{tester_id}"
response = request(:post, url)
handle_response(response)