link_serializer.rb 200 B

123456789
  1. # frozen_string_literal: true
  2. class REST::Admin::Trends::LinkSerializer < REST::Trends::LinkSerializer
  3. attributes :id, :requires_review
  4. def requires_review
  5. object.requires_review?
  6. end
  7. end