public TrelloApiConfiguration(TrelloEmailResolver emailResolver, TrelloAuthentication key, DeploymentLinkingConfiguration deploymentLinkingConfiguration, EmailNotificationConfiguration emailNotificationConfiguration) { EmailResolver = emailResolver; Authentication = key; DeploymentLinkingConfiguration = deploymentLinkingConfiguration; EmailNotificationConfiguration = emailNotificationConfiguration; }
public TrelloClient(TrelloApiConfiguration configuration) { restClient = new RestClient("https://api.trello.com/1/"); restClient.Authenticator = GetAuthenticator(configuration.Authentication); restClient.ReadWriteTimeout = 60000; restClient.Timeout = 60000; emailResolver = configuration.EmailResolver; deploymentLinkingSearchTemplate = GetDeploymentLinkingSearchTemplate(configuration.DeploymentLinkingConfiguration); labelSearchTemplate = GetLabelSearchTemplate(configuration.DeploymentLinkingConfiguration); emailNotificationSearchString = GetEmailNotificationSearchString(configuration.EmailNotificationConfiguration); reportAfterDaysInColumn = configuration.EmailNotificationConfiguration.ReportAfterDaysInColumn; log = LogManager.GetLogger(typeof(TrelloClient)); }
public TrelloClient(TrelloApiConfiguration configuration) { restClient = new RestClient("https://api.trello.com/1/"); restClient.Authenticator = GetAuthenticator(configuration.Authentication); restClient.ReadWriteTimeout = 60000; restClient.Timeout = 60000; emailResolver = configuration.EmailResolver; deploymentLinkingSearchTemplate = GetDeploymentLinkingSearchTemplate(configuration.DeploymentLinkingConfiguration); labelSearchTemplate = GetLabelSearchTemplate(configuration.DeploymentLinkingConfiguration); emailNotificationSearchString = GetEmailNotificationSearchString(configuration.EmailNotificationConfiguration); reportAfterDaysInColumn = configuration.EmailNotificationConfiguration.ReportAfterDaysInColumn; log = LogManager.GetLogger(typeof (TrelloClient)); }