2018-07-16 12:31:01 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-06-16 09:06:14 -04:00
|
|
|
module Emails
|
|
|
|
class BaseService
|
2018-09-09 17:04:11 -04:00
|
|
|
attr_reader :current_user
|
|
|
|
|
2017-10-05 06:48:22 -04:00
|
|
|
def initialize(current_user, params = {})
|
|
|
|
@current_user, @params = current_user, params.dup
|
|
|
|
@user = params.delete(:user)
|
2017-06-16 09:06:14 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|