diff options
author | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-01-11 11:15:04 +0100 |
---|---|---|
committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-01-11 11:15:04 +0100 |
commit | 4e70f2519bba83d5f9d6fd0bed80e9837e8b5fc5 (patch) | |
tree | 2f967d3eb865b3998e69ebf1c03b33b3767a5cf9 /lib | |
parent | 96bbc145f31ad029e080ad8903445d81d6c31968 (diff) | |
download | gitlab-ce-4e70f2519bba83d5f9d6fd0bed80e9837e8b5fc5.tar.gz |
Update ./doc/api/builds.md
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/entities.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index cb00b392db9..a1a886d6fea 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -375,8 +375,9 @@ module API end class Build < Grape::Entity - expose :id, :status, :stage, :name, :ref, :tag, :coverage, :user + expose :id, :status, :stage, :name, :ref, :tag, :coverage expose :created_at, :started_at, :finished_at + expose :user, with: UserFull expose :download_url do |repo_obj, options| if options[:user_can_download_artifacts] repo_obj.download_url |