Skip to content

Commit

Permalink
Rename ApiService() to Service()
Browse files Browse the repository at this point in the history
  • Loading branch information
AshleyPoole committed Dec 27, 2014
1 parent 2059a4e commit ee20305
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion SSLLWrapper.ConsoleAppTester/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace SSLLWrapper.ConsoleAppTester
class Program
{
private const string ApiUrl = "https://api.dev.ssllabs.com/api/fa78d5a4";
static readonly ApiService ApiService = new ApiService(ApiUrl);
static readonly Service ApiService = new Service(ApiUrl);

static void Main(string[] args)
{
Expand Down
2 changes: 1 addition & 1 deletion SSLLWrapper/Api.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace SSLLWrapper
{
public class Api : IApi
class Api : IApi
{
public HttpWebResponse MakeGetRequest(RequestModel requestModel)
{
Expand Down
2 changes: 1 addition & 1 deletion SSLLWrapper/SSLLWrapper.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</ItemGroup>
<ItemGroup>
<Compile Include="Api.cs" />
<Compile Include="ApiService.cs" />
<Compile Include="Service.cs" />
<Compile Include="Helpers\HttpWebResponseHelper.cs" />
<Compile Include="Interfaces\IApi.cs" />
<Compile Include="Interfaces\IHttpWebResponseHelper.cs" />
Expand Down
4 changes: 2 additions & 2 deletions SSLLWrapper/ApiService.cs → SSLLWrapper/Service.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace SSLLWrapper
{
public class ApiService
public class Service
{
#region construction

Expand Down Expand Up @@ -43,7 +43,7 @@ public enum All
Done
}

public ApiService(string apiUrl)
public Service(string apiUrl)
{
_api = new Api();
_webResponseHelper = new HttpWebResponseHelper();
Expand Down

0 comments on commit ee20305

Please sign in to comment.