diff options
author | Jonathon Reinhart <Jonathon.Reinhart@gmail.com> | 2016-10-02 10:30:39 -0400 |
---|---|---|
committer | Jonathon Reinhart <Jonathon.Reinhart@gmail.com> | 2016-10-02 10:30:39 -0400 |
commit | c2f45e90a52cb418665c65258628d382e0725401 (patch) | |
tree | 06dbdfff382d6b631561c3c03d0f351d61f26f02 /gitlab/cli.py | |
parent | 7d424ae5a4dad41533af7add24d728c315563022 (diff) | |
download | gitlab-c2f45e90a52cb418665c65258628d382e0725401.tar.gz |
Add ProjectBuild.erase()
We can't use the existing delete() functionality, because GitLab uses
`POST /projects/:id/builds/:build_id/erase` to erase a build. Instead of
overriding delete(), we add a separate erase() method to keep the naming
consistent, and allow potentially more fine-grained operations in the
future.
- https://docs.gitlab.com/ce/api/builds.html#erase-a-build
Diffstat (limited to 'gitlab/cli.py')
0 files changed, 0 insertions, 0 deletions