Exemple #1
0
        public async Task <string[]> GetCarriers()
        {
            string url           = $"{_hostUrl}carriers/";
            string authorization = _client.GetBasicAuth();

            return(await _client.Get <string[]>(url, authorization, null, "", _dateTimeFormat));
        }
Exemple #2
0
 protected SendCloudApiAbstractResource(SendCloudApi client)
 {
     Client        = client;
     Authorization = client.GetBasicAuth();
 }