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

8 lines
135 B
Ruby
Raw Normal View History

module Emails
2017-06-19 08:51:46 -04:00
class CreateService < ::Emails::BaseService
2017-06-22 05:27:37 -04:00
def execute
2017-06-19 09:35:44 -04:00
@user.emails.create(email: @email)
end
end
end