diff --git a/Octokit.Reactive/Clients/IObservableRepoCollaboratorsClient.cs b/Octokit.Reactive/Clients/IObservableRepoCollaboratorsClient.cs
index 610c872d..1119ad0b 100644
--- a/Octokit.Reactive/Clients/IObservableRepoCollaboratorsClient.cs
+++ b/Octokit.Reactive/Clients/IObservableRepoCollaboratorsClient.cs
@@ -10,35 +10,35 @@ namespace Octokit.Reactive
/// Gets all the available collaborators on this repo.
///
/// The owner of the repository
- /// The name of the repository
+ /// The name of the repository
///
- IObservable GetAll(string owner, string name);
+ IObservable GetAll(string owner, string repo);
///
/// Checks to see if a user is an assignee for a repository.
///
/// The owner of the repository
- /// The name of the repository
+ /// The name of the repository
/// Username of the prospective collaborator
///
- IObservable IsCollaborator(string owner, string name, string user);
+ IObservable IsCollaborator(string owner, string repo, string user);
///
/// Adds a user as a collaborator to a repository.
///
/// The owner of the repository
- /// The name of the repository
+ /// The name of the repository
/// Username of the prospective collaborator
///
- IObservable Add(string owner, string name, string user);
+ IObservable Add(string owner, string repo, string user);
///
/// Removes a user as a collaborator for a repository.
///
/// The owner of the repository
- /// The name of the repository
+ /// The name of the repository
/// Username of the prospective collaborator
///
- IObservable Delete(string owner, string name, string user);
+ IObservable Delete(string owner, string repo, string user);
}
}
diff --git a/Octokit.Reactive/Clients/ObservableRepoCollaboratorsClient.cs b/Octokit.Reactive/Clients/ObservableRepoCollaboratorsClient.cs
index 5f08fdbc..2db6b66a 100644
--- a/Octokit.Reactive/Clients/ObservableRepoCollaboratorsClient.cs
+++ b/Octokit.Reactive/Clients/ObservableRepoCollaboratorsClient.cs
@@ -23,13 +23,13 @@ namespace Octokit.Reactive
/// Gets all the available collaborators on this repo.
///
/// The owner of the repository
- /// The name of the repository
+ /// The name of the repository
///
- public IObservable GetAll(string owner, string name)
+ public IObservable GetAll(string owner, string repo)
{
Ensure.ArgumentNotNull(owner, "owner");
- Ensure.ArgumentNotNull(name, "name");
- var endpoint = ApiUrls.RepoCollaborators(owner, name);
+ Ensure.ArgumentNotNull(repo, "name");
+ var endpoint = ApiUrls.RepoCollaborators(owner, repo);
return _connection.GetAndFlattenAllPages(endpoint);
}
@@ -37,36 +37,36 @@ namespace Octokit.Reactive
/// Checks to see if a user is an assignee for a repository.
///
/// The owner of the repository
- /// The name of the repository
+ /// The name of the repository
/// Username of the prospective collaborator
///
- public IObservable IsCollaborator(string owner, string name, string user)
+ public IObservable IsCollaborator(string owner, string repo, string user)
{
- return _client.IsCollaborator(owner, name, user).ToObservable();
+ return _client.IsCollaborator(owner, repo, user).ToObservable();
}
///
/// Adds a user as a collaborator to a repository.
///
/// The owner of the repository
- /// The name of the repository
+ /// The name of the repository
/// Username of the prospective collaborator
///
- public IObservable Add(string owner, string name, string user)
+ public IObservable Add(string owner, string repo, string user)
{
- return _client.Add(owner, name, user).ToObservable();
+ return _client.Add(owner, repo, user).ToObservable();
}
///
/// Removes a user as a collaborator for a repository.
///
/// The owner of the repository
- /// The name of the repository
+ /// The name of the repository
/// Username of the prospective collaborator
///
- public IObservable Delete(string owner, string name, string user)
+ public IObservable Delete(string owner, string repo, string user)
{
- return _client.Delete(owner, name, user).ToObservable();
+ return _client.Delete(owner, repo, user).ToObservable();
}
}
}