mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 20:24:05 -06:00
14 lines
208 B
Ruby
14 lines
208 B
Ruby
class WebHookCategorySerializer < CategorySerializer
|
|
|
|
%i{
|
|
can_edit
|
|
notification_level
|
|
available_groups
|
|
}.each do |attr|
|
|
define_method("include_#{attr}?") do
|
|
false
|
|
end
|
|
end
|
|
|
|
end
|