observale deployments for all

This commit is contained in:
Brendan Forster
2014-02-18 21:43:50 +11:00
parent 972304e8e5
commit 082d12d226
2 changed files with 12 additions and 0 deletions
@@ -28,5 +28,10 @@ namespace Octokit.Reactive
/// <param name="newDeployment">A <see cref="NewDeployment"/> instance describing the new deployment to create</param>
/// <returns>The created <see cref="Deployment"></returns>
IObservable<Deployment> Create(string owner, string name, NewDeployment newDeployment);
/// <summary>
///
/// </summary>
IObservableDeploymentStatusClient Status { get; }
}
}
@@ -15,6 +15,8 @@ namespace Octokit.Reactive.Clients
_client = client.Repository.Deployment;
_connection = client.Connection;
Status = new ObservableDeploymentStatusClient(client);
}
/// <summary>
@@ -51,5 +53,10 @@ namespace Octokit.Reactive.Clients
{
return _client.Create(owner, name, newDeployment).ToObservable();
}
/// <summary>
///
/// </summary>
public IObservableDeploymentStatusClient Status { get; private set; }
}
}