status_serializer.rb 191 B

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