public override HttpResponseMessage Execute(PaymentRequest request)
 {
     logger.InfoWithMetadata(new Dictionary <string, string> {
         { "PaymentId", request.PaymentId }, { "Message", "Iniciando a execução da transação de consulta" }, { "Body", this.Body }, { "Url", this.Url }
     });
     return(httpWrapper.Get(this.Credentials, this.Header, this.Body, this.Url));
 }
Exemple #2
0
 public string SendRequest(string token, string resource)
 {
     return(_httpWrapper.Get(resource, new Dictionary <string, string> {
         { "Authorization", "GoogleLogin auth=" + token }
     }));
 }