class InviteRestServiceImpl extends BaseRestService implements InviteRestService {

    @Override
    public RestResult<Void> acceptInvite(String inviteHash, long userId) {
        String url = inviteRestUrl + String.format("/accept-invite/%s/%s", inviteHash, userId);
        return putWithRestResultAnonymous(url, Void.class);
    }

}