2018-03-28 08:10:29 -04:00
|
|
|
class WebHookCategorySerializer < CategorySerializer
|
|
|
|
|
|
|
|
%i{
|
|
|
|
can_edit
|
|
|
|
notification_level
|
2018-04-10 07:16:22 -04:00
|
|
|
available_groups
|
2018-03-28 08:10:29 -04:00
|
|
|
}.each do |attr|
|
|
|
|
define_method("include_#{attr}?") do
|
|
|
|
false
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|