From ad640610312038b773a9d8df7a01b3a9a515c1f2 Mon Sep 17 00:00:00 2001 From: Ryan Gribble Date: Sun, 31 Jan 2016 20:55:32 +1000 Subject: [PATCH] Fix convention test for variable name on Observable implementation Fix missing parameter in XML comment --- .../Enterprise/IObservableEnterpriseOrganizationClient.cs | 3 ++- .../Enterprise/ObservableEnterpriseOrganizationClient.cs | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Octokit.Reactive/Clients/Enterprise/IObservableEnterpriseOrganizationClient.cs b/Octokit.Reactive/Clients/Enterprise/IObservableEnterpriseOrganizationClient.cs index 96134a7d16..ebb39eb9f7 100644 --- a/Octokit.Reactive/Clients/Enterprise/IObservableEnterpriseOrganizationClient.cs +++ b/Octokit.Reactive/Clients/Enterprise/IObservableEnterpriseOrganizationClient.cs @@ -18,8 +18,9 @@ public interface IObservableEnterpriseOrganizationClient /// /// https://developer.github.com/v3/enterprise/orgs/#create-an-organization /// + /// A instance describing the organization to be created /// The created. - IObservable Create(NewOrganization request); + IObservable Create(NewOrganization newOrganization); } } \ No newline at end of file diff --git a/Octokit.Reactive/Clients/Enterprise/ObservableEnterpriseOrganizationClient.cs b/Octokit.Reactive/Clients/Enterprise/ObservableEnterpriseOrganizationClient.cs index f14889efaa..1f78574c2b 100644 --- a/Octokit.Reactive/Clients/Enterprise/ObservableEnterpriseOrganizationClient.cs +++ b/Octokit.Reactive/Clients/Enterprise/ObservableEnterpriseOrganizationClient.cs @@ -28,10 +28,11 @@ public ObservableEnterpriseOrganizationClient(IGitHubClient client) /// /// https://developer.github.com/v3/enterprise/orgs/#create-an-organization /// + /// A instance describing the organization to be created /// The created. - public IObservable Create(NewOrganization request) + public IObservable Create(NewOrganization newOrganization) { - return _client.Create(request).ToObservable(); + return _client.Create(newOrganization).ToObservable(); } } }