Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions lib/gitlab/client/build_variables.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@ def update_variable(project, key, value, **opts)
#
# @param [Integer, String] project The ID or name of a project.
# @param [String] key The key of a variable.
# @param [Hash] opts optional parameters
# @return [Gitlab::ObjectifiedHash] The variable.
def remove_variable(project, key)
delete("/projects/#{url_encode project}/variables/#{key}")
def remove_variable(project, key, **opts)
delete("/projects/#{url_encode project}/variables/#{key}", query: opts)
end

# Gets a list of the group's build variables
Expand Down