Welcome to mirror list, hosted at ThFree Co, Russian Federation.

global_notification_setting.rb « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f3ca64347f08b45c6d3db1d350072886fb91d10b (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module API
  module Entities
    class GlobalNotificationSetting < Entities::NotificationSetting
      expose :notification_email do |notification_setting, options|
        notification_setting.user.notification_email
      end
    end
  end
end