mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 03:55:55 +00:00
Refactor: Pull out Migrations client from Enterprise.
Following the API sidebar structure, the migrations client is pulled out and put into another Migration client.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
namespace Octokit.Reactive
|
||||
{
|
||||
public class ObservableMigrationClient : IObservableMigrationClient
|
||||
{
|
||||
public ObservableMigrationClient(IGitHubClient client)
|
||||
{
|
||||
Ensure.ArgumentNotNull(client, "client");
|
||||
|
||||
Migration = new ObservableMigrationsClient(client);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// A client for GitHub's Enterprise Migrations API.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// https://developer.github.com/v3/migration/#enterprise-migrations
|
||||
/// </remarks>
|
||||
public IObservableMigrationsClient Migration { get; private set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user