예제 #1
0
        public async Task <ResponseDto> Get(string url)
        {
            var uri     = new Uri(url);
            var content = await _requestor.Get(uri);

            return(Set(uri, content));
        }
예제 #2
0
        public Check Find(string applicantId, string checkId)
        {
            const string pathFormat = "applicants/{0}/checks/{1}";

            return(_requestor.Get <Check>(string.Format(pathFormat, applicantId, checkId)));
        }
예제 #3
0
        public Report Find(string checkId, string reportId)
        {
            const string pathFormat = "checks/{0}/reports/{1}";

            return(_requestor.Get <Report>(string.Format(pathFormat, checkId, reportId)));
        }
예제 #4
0
        public Applicant Find(string applicantId)
        {
            const string pathFormat = "applicants/{0}";

            return(_requestor.Get <Applicant>(string.Format(pathFormat, applicantId)));
        }