spaceship/lib/spaceship/test_flight/client.rb in fastlane-2.71.0.beta.20171222010003 vs spaceship/lib/spaceship/test_flight/client.rb in fastlane-2.71.0.beta.20171223010003

- old
+ new

@@ -109,9 +109,23 @@ req.headers['Content-Type'] = 'application/json' end handle_response(response) end + def create_group_for_app(app_id: nil, group_name: nil) + assert_required_params(__method__, binding) + body = { + 'name' => group_name + } + + response = request(:post) do |req| + req.url "providers/#{team_id}/apps/#{app_id}/groups" + req.body = body.to_json + req.headers['Content-Type'] = 'application/json' + end + handle_response(response) + end + ##################################################### # @!group Testers ##################################################### def testers(tester) url = tester.url[:index]