mirror of
https://github.com/discourse/discourse.git
synced 2024-12-24 06:33:53 +08:00
6 lines
182 B
Ruby
6 lines
182 B
Ruby
# frozen_string_literal: true
|
|
|
|
class WebHookGroupSerializer < BasicGroupSerializer
|
|
%i[is_group_user is_group_owner].each { |attr| define_method("include_#{attr}?") { false } }
|
|
end
|