public RestfulConfluenceApi(ConfluenceConfig cfg) { _cfg = cfg; _restClient = new RestClient(cfg.Endpoint); _restClient.Authenticator = new HttpBasicAuthenticator(cfg.Username, cfg.Password); }
public void WriteToConfluence(ConfluenceConfig cfg) { Updaters.Add(new ConfluenceDocumentationWriter(cfg, new SHA1Hasher())); }
public void Y() { _updater = new RestfulConfluenceApi(ConfluenceConfig.FromConfig()); }