2017-06-16 09:06:14 -04:00
|
|
|
module Emails
|
2017-06-19 08:51:46 -04:00
|
|
|
class CreateService < ::Emails::BaseService
|
2017-10-01 11:07:26 -04:00
|
|
|
def execute(extra_params = {})
|
|
|
|
@user.emails.create(@params.merge(extra_params))
|
2017-06-16 09:06:14 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|