debian-mirror-gitlab/app/services/emails/base_service.rb
2018-03-17 18:26:18 +05:30

8 lines
189 B
Ruby

module Emails
class BaseService
def initialize(current_user, params = {})
@current_user, @params = current_user, params.dup
@user = params.delete(:user)
end
end
end