

def rename(self, name):
    'Renames app to given name.'
    r = self._h._http_resource(method='PUT', resource=('apps', self.name), data={
        'app[name]': name,
    })
    return r.ok

dataset/ETHPy150Open kennethreitz-archive/python-github3/github3/models.py App.rename/original