class CompetitionInviteRestServiceImpl extends BaseRestService implements CompetitionInviteRestService {

    @Override
    public RestResult<Void> acceptInvite(String inviteHash) {
        return postWithRestResult(format("%s/%s/%s", COMPETITION_INVITE_REST_URL, "accept-invite", inviteHash), Void.class);
    }

}