discourse/app/serializers/skipped_email_log_serializer.rb

10 lines
161 B
Ruby
Raw Normal View History

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