summaryrefslogtreecommitdiff
path: root/app/services/files/update_service.rb
blob: a20903c6f02c13e8f4e014a56ce307fe1d829c3d (plain)
1
2
3
4
5
6
7
8
9
require_relative "base_service"

module Files
  class UpdateService < Files::BaseService
    def commit
      repository.commit_file(current_user, @file_path, @file_content, @commit_message, @target_branch)
    end
  end
end