summaryrefslogtreecommitdiff
path: root/app/services/files/delete_service.rb
blob: 8b27ad51789bc54d2f64a160bb09a0fb2d4942c0 (plain)
1
2
3
4
5
6
7
8
9
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