From 408d8825cf1d2f69458259cd214a1d536493e72f Mon Sep 17 00:00:00 2001 From: Rufus Aldred Date: Sun, 7 Feb 2021 22:32:36 +0000 Subject: [PATCH] Fix syntax typo in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4bef94c..15030ab 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ Each resource exposed by this library should have its own python file under the directory, and should define a single `class` that inherits from `DialpadResource`. The class itself should set the `_resource_path` class property to a list of strings such -that `'/api/v2/' + _resource_path.join('/')` corresponds to the API path for that resource. +that `'/api/v2/' + '/'.join(_resource_path)` corresponds to the API path for that resource. Once the `_resource_path` is defined, the resource class can define instance methods to expose functionality related to the resource that it represents, and can use the `self.request` helper