Exemple #1
0
 public TemplatedEmailRequest(string accessToken, PureMailClientOptions options, ILogger <PureMailClient> logger, IRestClient restClient)
 {
     _pureMailClientOptions = options;
     _accessToken           = accessToken;
     _logger     = logger;
     _restClient = restClient;
 }
Exemple #2
0
 public TemplatedEmailRequest(string accessToken, PureMailClientOptions options, ILogger <PureMailClient> logger) : this(accessToken, options, logger, new RestClient(options.ServiceBaseUrl))
 {
 }