summaryrefslogtreecommitdiff
path: root/lib/api/entities/commit_status.rb
blob: 61b8bf89cfeef0476f6c8ac6bb361fef40ed82a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module API
  module Entities
    class CommitStatus < Grape::Entity
      expose :id, :sha, :ref, :status, :name, :target_url, :description,
             :created_at, :started_at, :finished_at, :allow_failure, :coverage
      expose :author, using: Entities::UserBasic
    end
  end
end