discourse/app/serializers/web_hook_group_serializer.rb

13 lines
187 B
Ruby
Raw Normal View History

class WebHookGroupSerializer < BasicGroupSerializer
2018-03-28 08:10:29 -04:00
%i{
is_group_user
is_group_owner
}.each do |attr|
define_method("include_#{attr}?") do
false
end
end
end