Ejemplo n.º 1
0
 public Endpoints(string clientId, string clientSecret, bool sandbox)
 {
     this.clientId = clientId;
     this.clientSecret = clientSecret;
     string jsonString = Resources.ResourceManager.GetString("endpoints");
     this.endpoints = JObject.Parse(jsonString);
     this.httpHelper = new HttpHelper();
     this.httpHelper.BaseUrl = sandbox ? Endpoints.ApiBaseSandboxURL : Endpoints.ApiBaseURL;
     this.token = null;
 }