discourse/app/serializers/skipped_email_log_serialize...

10 lines
161 B
Ruby

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