Skip to content

Commit

Permalink
Rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
StanleyGoldman committed Aug 7, 2018
1 parent a80e226 commit b446b5a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Octokit.Tests/Clients/GitHubAppsClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public void GetsFromCorrectUrl()
StartPage = 1
};

client.GetInstallationsForUser(options);
client.GetAllInstallationsForUser(options);

connection.Received().GetAll<Installation>(Arg.Is<Uri>(u => u.ToString() == "user/installations"), null, "application/vnd.github.machine-man-preview+json", options);
}
Expand Down
2 changes: 1 addition & 1 deletion Octokit/Clients/GitHubAppsClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public Task<IReadOnlyList<Installation>> GetAllInstallationsForUser()
/// List installations for user
/// </summary>
/// <remarks>https://developer.github.com/v3/apps/#list-installations-for-user</remarks>
public Task<IReadOnlyList<Installation>> GetInstallationsForUser(ApiOptions options)
public Task<IReadOnlyList<Installation>> GetAllInstallationsForUser(ApiOptions options)
{
Ensure.ArgumentNotNull(options, nameof(options));

Expand Down
2 changes: 1 addition & 1 deletion Octokit/Clients/IGitHubAppsClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@ public interface IGitHubAppsClient
/// List installations for user
/// </summary>
/// <remarks>https://developer.github.com/v3/apps/#list-installations-for-user</remarks>
Task<IReadOnlyList<Installation>> GetInstallationsForUser(ApiOptions options);
Task<IReadOnlyList<Installation>> GetAllInstallationsForUser(ApiOptions options);
}
}

0 comments on commit b446b5a

Please sign in to comment.