gitlab-org--gitlab-foss/app/services/emails/create_service.rb

8 lines
168 B
Ruby
Raw Normal View History

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))
end
end
end