7 lines
168 B
Ruby
7 lines
168 B
Ruby
module Emails
|
|
class CreateService < ::Emails::BaseService
|
|
def execute(extra_params = {})
|
|
@user.emails.create(@params.merge(extra_params))
|
|
end
|
|
end
|
|
end
|