Exemple #1
0
 public void Init()
 {
     instance = new EnvironmentsApi();
 }
Exemple #2
0
 /// <summary>
 ///   Initializes a new instance of the <see cref="Api"/> class.
 /// </summary>
 /// <param name="uri">The URI pointing to the root of the API.</param>
 /// <param name="credentials">The authentication credentials.</param>
 public Api(Uri uri, HttpCredentials credentials)
     : base(uri, credentials)
 {
     Auth         = new AuthApi(this);
     Environments = new EnvironmentsApi(this);
 }