diff options
| -rw-r--r-- | src/IOL.VippsEcommerce/IOL.VippsEcommerce.csproj | 25 | ||||
| -rw-r--r-- | src/IOL.VippsEcommerce/VippsEcommerceService.cs | 4 |
2 files changed, 19 insertions, 10 deletions
diff --git a/src/IOL.VippsEcommerce/IOL.VippsEcommerce.csproj b/src/IOL.VippsEcommerce/IOL.VippsEcommerce.csproj index 3ae2596..1a69373 100644 --- a/src/IOL.VippsEcommerce/IOL.VippsEcommerce.csproj +++ b/src/IOL.VippsEcommerce/IOL.VippsEcommerce.csproj @@ -1,13 +1,22 @@ <Project Sdk="Microsoft.NET.Sdk"> - <PropertyGroup> - <TargetFramework>net5.0</TargetFramework> - </PropertyGroup> + <PropertyGroup> + <Title>IOL.VippsEcommerce</Title> + <Authors>Ivar Løvlie</Authors> + <Description>Dotnet classlib for communicating with the vipps e-commerce api.</Description> + <Summary>Dotnet classlib for communicating with the vipps e-commerce api.</Summary> + <PackageProjectUrl>https://github.com/ivarlovlie/IOL.VippsEcommerce</PackageProjectUrl> + <PackageLicenseUrl>https://github.com/ivarlovlie/IOL.VippsEcommerce/blob/master/LICENSE</PackageLicenseUrl> + <RepositoryUrl>https://github.com/ivarlovlie/IOL.VippsEcommerce</RepositoryUrl> + <RepositoryType>git</RepositoryType> + <PackageTags>dotnet;vipps-api</PackageTags> + <TargetFramework>net5.0</TargetFramework> + </PropertyGroup> - <ItemGroup> - <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="5.0.1" /> - <PackageReference Include="Microsoft.Extensions.Http" Version="5.0.0" /> - <PackageReference Include="Microsoft.Extensions.Logging" Version="5.0.0" /> - </ItemGroup> + <ItemGroup> + <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="5.0.1"/> + <PackageReference Include="Microsoft.Extensions.Http" Version="5.0.0"/> + <PackageReference Include="Microsoft.Extensions.Logging" Version="5.0.0"/> + </ItemGroup> </Project> diff --git a/src/IOL.VippsEcommerce/VippsEcommerceService.cs b/src/IOL.VippsEcommerce/VippsEcommerceService.cs index 3a3a5dc..935dcc5 100644 --- a/src/IOL.VippsEcommerce/VippsEcommerceService.cs +++ b/src/IOL.VippsEcommerce/VippsEcommerceService.cs @@ -24,8 +24,8 @@ namespace IOL.VippsEcommerce private readonly string _cacheEncryptionKey; private readonly string _cacheFileDirectoryPath; - private const string CACHE_FILE_NAME = "vipps_ecommerce_credentials.json"; - private string CacheFilePath => Path.Combine(_cacheFileDirectoryPath, CACHE_FILE_NAME); + private const string VIPPS_CACHE_FILE_NAME = "vipps_ecommerce_credentials.json"; + private string CacheFilePath => Path.Combine(_cacheFileDirectoryPath, VIPPS_CACHE_FILE_NAME); public VippsEcommerceService( HttpClient client, |
