discourse/app/serializers/skipped_email_log_serialize...

10 lines
161 B
Ruby
Raw Normal View History

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