Skip to content

Commit

Permalink
add missing observable client
Browse files Browse the repository at this point in the history
  • Loading branch information
martinscholz83 committed Jul 1, 2016
1 parent abc4b08 commit cd95700
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
9 changes: 9 additions & 0 deletions Octokit.Reactive/Clients/IObservableRepositoriesClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -597,12 +597,21 @@ public interface IObservableRepositoriesClient
/// See the <a href="https://developer.github.com/v3/repos/keys/">Repository Deploy Keys API documentation</a> for more information.
/// </remarks>
IObservableRepositoryDeployKeysClient DeployKeys { get; }

/// <summary>
/// A client for GitHub's Repository Pages API.
/// </summary>
/// <remarks>
/// See the <a href="https://developer.github.com/v3/repos/pages/">Repository Pages API documentation</a> for more information.
/// </remarks>
IObservableRepositoryPagesClient Page { get; }

/// <summary>
/// A client for GitHub's Repository Invitations API.
/// </summary>
/// <remarks>
/// See the <a href="https://developer.github.com/v3/repos/invitations/">Repository Invitations API documentation</a> for more information.
/// </remarks>
IObservableRepositoryInvitationsClient Invitation { get; }
}
}
9 changes: 9 additions & 0 deletions Octokit.Reactive/Clients/ObservableRepositoriesClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public ObservableRepositoriesClient(IGitHubClient client)
Content = new ObservableRepositoryContentsClient(client);
Merging = new ObservableMergingClient(client);
Page = new ObservableRepositoryPagesClient(client);
Invitation = new ObservableRepositoryInvitationsClient(client);
}

/// <summary>
Expand Down Expand Up @@ -900,5 +901,13 @@ public IObservable<CompareResult> Compare(string owner, string name, string @bas
/// See the <a href="https://developer.github.com/v3/repos/pages/">Repository Pages API documentation</a> for more information.
/// </remarks>
public IObservableRepositoryPagesClient Page { get; private set; }

/// <summary>
/// A client for GitHub's Repository Invitations API.
/// </summary>
/// <remarks>
/// See the <a href="https://developer.github.com/v3/repos/invitations/">Repository Invitations API documentation</a> for more information.
/// </remarks>
public IObservableRepositoryInvitationsClient Invitation { get; private set; }
}
}
7 changes: 2 additions & 5 deletions Octokit/Models/Request/InvitationUpdate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,9 @@
namespace Octokit
{
/// <summary>
/// Used to update a gist and its contents.
/// Used to update a invitation.
/// </summary>
/// <remarks>
/// Note: All files from the previous version of the gist are carried over by default if not included in the
/// object. Deletes can be performed by including the filename with a null object.
/// API docs: https://developer.github.com/v3/gists/
/// <remarks>
/// </remarks>
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class InvitationUpdate
Expand Down

0 comments on commit cd95700

Please sign in to comment.