debian-mirror-gitlab/app/services/emails/base_service.rb
2018-11-18 11:00:15 +05:30

10 lines
220 B
Ruby

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