add category to broadcasts renderer

This commit is contained in:
carlad 2015-09-23 15:32:15 +02:00
parent 866ed28641
commit ab979e2356

View File

@ -2,7 +2,7 @@ require 'travis/api/v3/renderer/model_renderer'
module Travis::API::V3
class Renderer::Broadcast < Renderer::ModelRenderer
representation(:minimal, :id, :recipient_id, :message, :created_at)
representation(:standard, :id, :recipient_id, :recipient_type, :kind, :message, :expired, :created_at, :updated_at)
representation(:minimal, :id, :recipient_id, :message, :created_at, :category)
representation(:standard, :id, :recipient_id, :recipient_type, :category, :kind, :message, :expired, :created_at, :updated_at)
end
end