def delete(self, link_id): """ Deletes the specified link. """ url = repository_link_url(self._namespace, self._repository_name, link_id) return self._dispatcher.dispatch(url, method='DELETE', access_token=self._access_token, access_token_secret=self._access_token_secret)
def get(self, link_id): """ Returns the contents of the specified link. """ url = repository_link_url(self._namespace, self._repository_name, link_id) return self._dispatcher.dispatch(url, access_token=self._access_token, access_token_secret=self._access_token_secret)