1
0
mirror of https://github.com/discourse/discourse.git synced 2025-03-09 14:34:35 +00:00
discourse/app/serializers/web_hook_category_serializer.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
239 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2018-03-28 17:40:29 +05:30
class WebHookCategorySerializer < CategorySerializer
%i{
can_edit
notification_level
available_groups
2018-03-28 17:40:29 +05:30
}.each do |attr|
define_method("include_#{attr}?") do
false
end
end
end