debian-mirror-gitlab/app/services/emails/create_service.rb
2018-03-17 18:26:18 +05:30

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