add branch to build minimal rep
This commit is contained in:
parent
aef8672cba
commit
986ae0ef97
|
@ -2,8 +2,8 @@ require 'travis/api/v3/renderer/model_renderer'
|
|||
|
||||
module Travis::API::V3
|
||||
class Renderer::Build < Renderer::ModelRenderer
|
||||
representation(:minimal, :id, :number, :state, :duration, :event_type, :previous_state, :started_at, :finished_at, :jobs)
|
||||
representation(:standard, *representations[:minimal], :repository, :branch, :commit)
|
||||
representation(:minimal, :id, :number, :branch, :state, :duration, :event_type, :previous_state, :started_at, :finished_at, :jobs)
|
||||
representation(:standard, *representations[:minimal], :repository, :commit)
|
||||
|
||||
def jobs
|
||||
return model.jobs if include_full_jobs?
|
||||
|
|
Loading…
Reference in New Issue
Block a user