Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

refactor

  • Loading branch information...
commit e8ea6498e0202cf7ad4f6ddfaf7d4f45715fef49 1 parent e5562c0
Tim Iles authored
View
2  GoCardlessSdk/Api/ApiClient.cs
@@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Net;
-using GoCardlessSdk.Api.Json;
+using GoCardlessSdk.Helpers;
using Newtonsoft.Json.Linq;
using RestSharp;
View
2  GoCardlessSdk/Connect/ConnectClient.cs
@@ -2,7 +2,7 @@
using System.Collections.Specialized;
using System.Net;
using GoCardlessSdk.Api;
-using GoCardlessSdk.Api.Json;
+using GoCardlessSdk.Helpers;
using Newtonsoft.Json;
using RestSharp;
View
5 GoCardlessSdk/GoCardlessSdk.csproj
@@ -51,8 +51,8 @@
<Compile Include="AccountDetails.cs" />
<Compile Include="Api\ApiClient.cs" />
<Compile Include="Api\BillResponse.cs" />
- <Compile Include="Api\Json\NewtonsoftJsonDeserializer.cs" />
- <Compile Include="Api\Json\UnderscoreToCamelCasePropertyResolver.cs" />
+ <Compile Include="Helpers\NewtonsoftJsonDeserializer.cs" />
+ <Compile Include="Helpers\UnderscoreToCamelCasePropertyResolver.cs" />
<Compile Include="Api\MerchantResponse.cs" />
<Compile Include="Api\PreAuthorizationResponse.cs" />
<Compile Include="Api\SubscriptionResponse.cs" />
@@ -79,6 +79,7 @@
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
+ <ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
View
2  ...dk/Api/Json/NewtonsoftJsonDeserializer.cs → ...Sdk/Helpers/NewtonsoftJsonDeserializer.cs
@@ -5,7 +5,7 @@
using RestSharp;
using RestSharp.Deserializers;
-namespace GoCardlessSdk.Api.Json
+namespace GoCardlessSdk.Helpers
{
public class NewtonsoftJsonDeserializer : IDeserializer
{
View
2  .../UnderscoreToCamelCasePropertyResolver.cs → .../UnderscoreToCamelCasePropertyResolver.cs
@@ -1,6 +1,6 @@
using Newtonsoft.Json.Serialization;
-namespace GoCardlessSdk.Api.Json
+namespace GoCardlessSdk.Helpers
{
public class UnderscoreToCamelCasePropertyResolver : DefaultContractResolver
{
View
2  GoCardlessSdk/WebHooks/WebHooksClient.cs
@@ -1,5 +1,5 @@
using System.IO;
-using GoCardlessSdk.Api.Json;
+using GoCardlessSdk.Helpers;
using Newtonsoft.Json;
namespace GoCardlessSdk.WebHooks
Please sign in to comment.
Something went wrong with that request. Please try again.