9 lines
266 B
Ruby
9 lines
266 B
Ruby
require_relative "base_service"
|
|
|
|
module Files
|
|
class DeleteService < Files::BaseService
|
|
def commit
|
|
repository.remove_file(current_user, @file_path, @commit_message, @target_branch, author_email: @author_email, author_name: @author_name)
|
|
end
|
|
end
|
|
end
|