Exemplo n.º 1
0
        public AbstractApiTest()
        {
            var settings = TestSettings.LoadSettings();

            SAPI = new SentralApi(
                settings.BaseUrl,
                settings.ApiKey,
                settings.ApiTenant);

            _isTestSite = settings.BaseUrl.Contains(".sentral.school/");
        }
Exemplo n.º 2
0
 // This method gets called once for each cmdlet in the pipeline when the pipeline starts executing
 protected override void ProcessRecord()
 {
     _connection = new SentralApi(BaseUrl, ApiKey, TenantCode);
 }
Exemplo n.º 3
0
 public SentralPSCmdlet()
 {
     SentralApiClient = ConnectSentralApi.GetSentralAPIConnection();
 }