add category to broadcasts renderer
This commit is contained in:
parent
866ed28641
commit
ab979e2356
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user