debian-mirror-gitlab/scripts/api/create_issue.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
189 B
Ruby
Raw Normal View History

2023-01-13 00:05:48 +05:30
# frozen_string_literal: true
2023-05-27 22:25:52 +05:30
require_relative 'base'
2023-01-13 00:05:48 +05:30
2023-05-27 22:25:52 +05:30
class CreateIssue < Base
2023-01-13 00:05:48 +05:30
def execute(issue_data)
client.create_issue(project, issue_data.delete(:title), issue_data)
end
end