diff options
| -rw-r--r-- | LICENSE_NOTICES | 4 | ||||
| -rw-r--r-- | README.md | 8 | ||||
| -rw-r--r-- | src/IOL.VippsEcommerce/IOL.VippsEcommerce.csproj | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/LICENSE_NOTICES b/LICENSE_NOTICES index c37df05..fdbdf58 100644 --- a/LICENSE_NOTICES +++ b/LICENSE_NOTICES @@ -4,12 +4,12 @@ be distributed under licenses different than the IOL.VippsEcommerce software. In the event that we accidentally failed to list a required notice, please bring it to our attention through any of the ways detailed here: - https://github.com/ivarlovlie/IOL.VippsEcommerce/issues + ivar@ivarlovlie.no The attached notices are provided for information only. For any licenses that require disclosure of source, sources are available at -https://github.com/ivarlovlie/IOL.VippsEcommerce/. +https://git.sr.ht/~ivar/IOL.VippsEcommerce/. License Notice for Microsoft.NET.Sdk --------------------------- @@ -1,4 +1,4 @@ -Implements https://vippsas.github.io/vipps-ecom-api/, more or less (see [IVippsEcommerceService.cs](https://github.com/ivarlovlie/IOL.VippsEcommerce/blob/master/src/IOL.VippsEcommerce/IVippsEcommerceService.cs)). +Implements https://vippsas.github.io/vipps-ecom-api/, more or less (see [IVippsEcommerceService.cs](https://git.sr.ht/~ivar/IOL.VippsEcommerce/tree/master/item/src/IOL.VippsEcommerce/VippsEcommerceService.cs)). `dotnet add package IOL.VippsEcommerce` @@ -18,15 +18,15 @@ services.AddVippsEcommerceService(o => { }); ``` -See [VippsConfiguration.cs](https://github.com/ivarlovlie/IOL.VippsEcommerce/blob/master/src/IOL.VippsEcommerce/Models/VippsConfiguration.cs) for available properties. -You can configure how to get values with the `ConfigurationMode` property, valid modes is specified in [VippsConfigurationMode.cs](https://github.com/ivarlovlie/IOL.VippsEcommerce/blob/master/src/IOL.VippsEcommerce/Models/VippsConfigurationMode.cs), example: +See [VippsConfiguration.cs](https://git.sr.ht/~ivar/IOL.VippsEcommerce/tree/master/item/src/IOL.VippsEcommerce/Models/VippsConfiguration.cs) for available properties. +You can configure how to get values with the `ConfigurationMode` property, valid modes is specified in [VippsConfigurationMode.cs](https://git.sr.ht/~ivar/IOL.VippsEcommerce/tree/master/item/src/IOL.VippsEcommerce/Models/VippsConfigurationMode.cs), example: ```csharp services.AddVippsEcommerceService(o => { o.ConfigurationMode = VippsConfigurationMode.ENVIRONMENT_THEN_OBJECT; }); ``` -With the above example, the service will look for configuration values in the current environment using names specified in [VippsConfigurationKeyNames.cs](https://github.com/ivarlovlie/IOL.VippsEcommerce/blob/master/src/IOL.VippsEcommerce/Models/VippsConfigurationKeyNames.cs), then in the configuration object. The environment variable name for a given property is also specified in it's XML-documentation. +With the above example, the service will look for configuration values in the current environment using names specified in [VippsConfigurationKeyNames.cs](https://git.sr.ht/~ivar/IOL.VippsEcommerce/tree/master/item/src/IOL.VippsEcommerce/Models/VippsConfigurationKeyNames.cs), then in the configuration object. The environment variable name for a given property is also specified in it's XML-documentation. > [Environment.GetEnvironmentVariable](https://docs.microsoft.com/en-us/dotnet/api/system.environment.getenvironmentvariable?view=net-5.0) is used to retrieve environment variables, that means that user-secrets and anything else than process-spesific variables (`VARIABLE=value dotnet YourBinary.dll`) does not register on Unix systems. diff --git a/src/IOL.VippsEcommerce/IOL.VippsEcommerce.csproj b/src/IOL.VippsEcommerce/IOL.VippsEcommerce.csproj index 9bc526b..0643154 100644 --- a/src/IOL.VippsEcommerce/IOL.VippsEcommerce.csproj +++ b/src/IOL.VippsEcommerce/IOL.VippsEcommerce.csproj @@ -5,9 +5,9 @@ <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> + <PackageProjectUrl>https://git.sr.ht/~ivar/IOL.VippsEcommerce</PackageProjectUrl> + <PackageLicenseUrl>https://git.sr.ht/~ivar/IOL.VippsEcommerce/tree/master/item/LICENSE</PackageLicenseUrl> + <RepositoryUrl>https://git.sr.ht/~ivar/IOL.VippsEcommerce</RepositoryUrl> <RepositoryType>git</RepositoryType> <PackageTags>dotnet;vipps-api</PackageTags> <TargetFramework>net5.0</TargetFramework> |
