Skip to content

Commit

Permalink
Fix public api
Browse files Browse the repository at this point in the history
  • Loading branch information
hparfr committed Sep 3, 2019
1 parent 3017395 commit 7be2a77
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions roulier/carriers/geodis/geodis_api_rest_ws.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ def normalize(self, data):
step2 = internalApi.normalize(step1)
return step2

def api_values(self):
"""Return a dict containing expected keys.
It's a normalized version of the schema.
only internal api
"""
return self._validator().normalized({}, self.api_schema())

def _interal_api(self):
pass

Expand Down

0 comments on commit 7be2a77

Please sign in to comment.