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

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