debian-mirror-gitlab/app/services/files/delete_service.rb

10 lines
266 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
require_relative "base_service"
module Files
2015-09-25 12:07:36 +05:30
class DeleteService < Files::BaseService
def commit
2016-09-29 09:46:39 +05:30
repository.remove_file(current_user, @file_path, @commit_message, @target_branch, author_email: @author_email, author_name: @author_name)
2014-09-02 18:07:02 +05:30
end
end
end