aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorIvar Løvlie <38570165+ivarlovlie@users.noreply.github.com>2021-03-31 20:28:31 +0200
committerGitHub <noreply@github.com>2021-03-31 20:28:31 +0200
commit87950cd107e0388f9abad5979744dd04c19d1eb6 (patch)
tree8b1758f4fc47548ecc643ded343fb83cb6c59d38 /README.md
parent2057b9cdc6ae2d96704d6ad0880d6ecb4159a694 (diff)
downloaddotnet-vipps-ecommerce-87950cd107e0388f9abad5979744dd04c19d1eb6.tar.xz
dotnet-vipps-ecommerce-87950cd107e0388f9abad5979744dd04c19d1eb6.zip
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index a57deb5..b8448e1 100644
--- a/README.md
+++ b/README.md
@@ -18,10 +18,10 @@ 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 also use environment variables to configure the service, example:
+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:
```csharp
services.AddVippsEcommerceService(o => {
- o.UseEnvironment = true;
+ o.ConfigurationMode = VippsConfigurationMode.ENVIRONMENT_THEN_OBJECT;
});
```