debian-mirror-gitlab/app/services/groups/base_service.rb

18 lines
336 B
Ruby
Raw Normal View History

2018-11-18 11:00:15 +05:30
# frozen_string_literal: true
2016-06-02 11:05:42 +05:30
module Groups
class BaseService < ::BaseService
attr_accessor :group, :current_user, :params
def initialize(group, user, params = {})
@group, @current_user, @params = group, user, params.dup
end
2019-05-18 00:54:41 +05:30
private
def remove_unallowed_params
# overridden in EE
end
2016-06-02 11:05:42 +05:30
end
end