From ef68f178ffcc07183e60b845deb550b234037d9e Mon Sep 17 00:00:00 2001 From: Crankshaft Robot Date: Wed, 23 Aug 2017 14:48:02 +0000 Subject: [PATCH] Crankshaft[BU00000495319R] .NET client @ 2017-08-23 14:48:02 UTC --- GoCardless/GoCardless.csproj | 3 ++- GoCardless/GoCardlessClient.cs | 4 ++-- README.md | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/GoCardless/GoCardless.csproj b/GoCardless/GoCardless.csproj index 82c6563..1b13295 100644 --- a/GoCardless/GoCardless.csproj +++ b/GoCardless/GoCardless.csproj @@ -2,7 +2,7 @@ GoCardless - 2.0.4 + 2.0.5 GoCardless Ltd Client for the GoCardless API - a powerful, simple solution for the collection of recurring bank-to-bank payments false @@ -11,6 +11,7 @@ GoCardless Ltd gocardless payments rest api direct debit https://github.com/gocardless/gocardless-dotnet/blob/master/LICENSE.txt + https://github.com/gocardless/gocardless-dotnet/releases/tag/v2.0.5 netcoreapp1.1;net452 True diff --git a/GoCardless/GoCardlessClient.cs b/GoCardless/GoCardlessClient.cs index 356663a..c33054b 100644 --- a/GoCardless/GoCardlessClient.cs +++ b/GoCardless/GoCardlessClient.cs @@ -213,9 +213,9 @@ private HttpRequestMessage BuildHttpRequestMessage(string method, string path var httpMethod = new HttpMethod(method); var requestMessage = new HttpRequestMessage(httpMethod, new Uri(_baseUrl, path)); - requestMessage.Headers.Add("User-Agent", "gocardless-dotnet/2.0.4"); + requestMessage.Headers.Add("User-Agent", "gocardless-dotnet/2.0.5"); requestMessage.Headers.Add("GoCardless-Version", "2015-07-06"); - requestMessage.Headers.Add("GoCardless-Client-Version", "2.0.4"); + requestMessage.Headers.Add("GoCardless-Client-Version", "2.0.5"); requestMessage.Headers.Add("GoCardless-Client-Library", "gocardless-dotnet"); requestMessage.Headers.Authorization = new System.Net.Http.Headers.AuthenticationHeaderValue("Bearer", _accessToken); diff --git a/README.md b/README.md index df8460e..1be6427 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ For full details of the GoCardless API, see the [API docs](https://developer.goc To install `GoCardless`, run the following command in the [Package Manager Console](https://docs.microsoft.com/en-us/nuget/tools/package-manager-console) -`Install-Package GoCardless -Version 2.0.4` +`Install-Package GoCardless -Version 2.0.5` ## Usage