/// <summary> /// Load Webhook configuration into a Webhook configuration object /// </summary> /// <returns>A Webhook configuration object</returns> public static Webhook Load(string preset = "maestrano") { var config = new Webhook(); config.Account = WebhookAccount.Load(preset); config.Connec = WebhookConnec.Load(preset); return(config); }
public Webhook(string preset = "maestrano") { Account = WebhookAccount.Load(preset); Connec = WebhookConnec.Load(preset); }
public Webhook() { Account = WebhookAccount.Load(); Connec = WebhookConnec.Load(); }