discourse/app/serializers/web_hook_group_serializer.rb

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

6 lines
182 B
Ruby
Raw Normal View History

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