summaryrefslogtreecommitdiff
path: root/lib/api/entities/global_notification_setting.rb
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