예제 #1
0
 public SendGridApi(string apiKey, string apiValidationKey)
 {
     _apiKey             = apiKey;
     _apiKeyValidation   = apiValidationKey;
     _client             = new SendGridClient(apiKey);
     _consumingApiHelper = new CosumingHelper("https://api.sendgrid.com/v3");
 }
예제 #2
0
 public IXCCliente(string baseUrl, string token)
 {
     apiConsumerHelper = new CosumingHelper(baseUrl)
                         .AddcontentType();
 }