debian-mirror-gitlab/app/services/projects/operations/update_service.rb
2019-02-13 22:33:31 +05:30

19 lines
378 B
Ruby

# frozen_string_literal: true
module Projects
module Operations
class UpdateService < BaseService
def execute
Projects::UpdateService
.new(project, current_user, project_update_params)
.execute
end
private
def project_update_params
params.slice(:error_tracking_setting_attributes)
end
end
end
end