debian-mirror-gitlab/app/services/files/delete_service.rb
2016-09-29 09:46:39 +05:30

10 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