discourse/app/serializers/email_log_serializer.rb
Robin Ward e29f4a3496 Work in Progress: Reply By Email:
- Add support classes and settings to enable reply by email
- Split out Email builder to be more OO, add many specs
2013-06-13 12:39:56 -04:00

13 lines
265 B
Ruby

class EmailLogSerializer < ApplicationSerializer
attributes :id,
:reply_key,
:to_address,
:email_type,
:user_id,
:created_at
has_one :user, serializer: BasicUserSerializer, embed: :objects
end