discourse/app/serializers/skipped_email_log_serialize...

12 lines
192 B
Ruby

# frozen_string_literal: true
class SkippedEmailLogSerializer < ApplicationSerializer
include EmailLogsMixin
attributes :skipped_reason
def skipped_reason
object.reason
end
end