Skip to content

Commit 0b0a551

Browse files
author
Luisa Torres
committed
Little changes
1 parent 6a14a26 commit 0b0a551

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

typeform/client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ def __init__(self, api_key, version=None):
1212
def _get(self, endpoint, params=None):
1313
return self._request('GET', endpoint, params)
1414

15+
def _put(self, endpoint, params=None):
16+
return self._request('PUT', endpoint, params)
17+
1518
def _request(self, method, endpoint, params=None, data=None):
1619
url = '{0}/{1}/{2}'.format(self.BASE_URL, self.version, endpoint)
1720
response = requests.request(method, url, params=params, json=data)

0 commit comments

Comments
 (0)