diff options
| author | Ivar Løvlie <38570165+ivarlovlie@users.noreply.github.com> | 2021-03-31 20:28:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-31 20:28:31 +0200 |
| commit | 87950cd107e0388f9abad5979744dd04c19d1eb6 (patch) | |
| tree | 8b1758f4fc47548ecc643ded343fb83cb6c59d38 /README.md | |
| parent | 2057b9cdc6ae2d96704d6ad0880d6ecb4159a694 (diff) | |
| download | dotnet-vipps-ecommerce-87950cd107e0388f9abad5979744dd04c19d1eb6.tar.xz dotnet-vipps-ecommerce-87950cd107e0388f9abad5979744dd04c19d1eb6.zip | |
Update README.md
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; }); ``` |
