gitlab-org--gitlab-foss/app/services/emails/create_service.rb
2017-10-01 17:07:26 +02:00

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