v3 add :exists_on_github to standard branch representation

This commit is contained in:
carlad 2015-09-08 16:26:43 +02:00
parent 9d7a01e60c
commit 2c5ad649f5

View File

@ -3,6 +3,6 @@ require 'travis/api/v3/renderer/model_renderer'
module Travis::API::V3 module Travis::API::V3
class Renderer::Branch < Renderer::ModelRenderer class Renderer::Branch < Renderer::ModelRenderer
representation(:minimal, :name, :last_build) representation(:minimal, :name, :last_build)
representation(:standard, :name, :repository, :last_build) representation(:standard, :name, :repository, :last_build, :exists_on_github)
end end
end end