v3 add :exists_on_github to standard branch representation
This commit is contained in:
parent
9d7a01e60c
commit
2c5ad649f5
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user