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