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-07-07 11:18:12 +05:30
|
|
|
|
|
|
|
private
|
|
|
|
|
|
|
|
def remove_unallowed_params
|
|
|
|
# overridden in EE
|
|
|
|
end
|
2016-06-02 11:05:42 +05:30
|
|
|
end
|
|
|
|
end
|