Merge pull request #175 from PrivateStorageio/174.calculate-price
Add an HTTP API for price calculation
Showing
- docs/source/interface.rst 33 additions, 2 deletionsdocs/source/interface.rst
- setup.cfg 1 addition, 0 deletionssetup.cfg
- src/_zkapauthorizer/controller.py 3 additions, 1 deletionsrc/_zkapauthorizer/controller.py
- src/_zkapauthorizer/pricecalculator.py 73 additions, 0 deletionssrc/_zkapauthorizer/pricecalculator.py
- src/_zkapauthorizer/resource.py 137 additions, 2 deletionssrc/_zkapauthorizer/resource.py
- src/_zkapauthorizer/storage_common.py 63 additions, 2 deletionssrc/_zkapauthorizer/storage_common.py
- src/_zkapauthorizer/tests/strategies.py 53 additions, 11 deletionssrc/_zkapauthorizer/tests/strategies.py
- src/_zkapauthorizer/tests/test_client_resource.py 265 additions, 4 deletionssrc/_zkapauthorizer/tests/test_client_resource.py
- src/_zkapauthorizer/tests/test_pricecalculator.py 227 additions, 0 deletionssrc/_zkapauthorizer/tests/test_pricecalculator.py
- src/_zkapauthorizer/tests/test_strategies.py 12 additions, 1 deletionsrc/_zkapauthorizer/tests/test_strategies.py
Loading
Please register or sign in to comment