2018-07-16 12:31:01 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-03-08 19:01:33 -05:00
|
|
|
module Groups
|
2016-03-20 18:26:58 -04:00
|
|
|
class BaseService < ::BaseService
|
2016-03-08 19:01:33 -05:00
|
|
|
attr_accessor :group, :current_user, :params
|
|
|
|
|
|
|
|
def initialize(group, user, params = {})
|
|
|
|
@group, @current_user, @params = group, user, params.dup
|
|
|
|
end
|
2019-04-02 11:55:34 -04:00
|
|
|
|
|
|
|
private
|
|
|
|
|
|
|
|
def remove_unallowed_params
|
|
|
|
# overridden in EE
|
|
|
|
end
|
2016-03-08 19:01:33 -05:00
|
|
|
end
|
|
|
|
end
|