debian-mirror-gitlab/app/services/files/update_service.rb
2015-09-25 12:07:36 +05:30

9 lines
225 B
Ruby

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