DownloadInstrument() public method

public DownloadInstrument ( string instrumentUrl ) : Task
instrumentUrl string
return Task
        DownloadInstrument(Url <Instrument> instrumentUrl)
        {
            var json = await _rawClient.DownloadInstrument(instrumentUrl.Uri.ToString()).ConfigureAwait(false);

            return(new Instrument(json));
        }
        DownloadInstrument(Url <Instrument> instrumentUrl)
        {
            var json = await _rawClient.DownloadInstrument(instrumentUrl.Uri.ToString());

            return(json.ToObject <Instrument>());
        }