summaryrefslogtreecommitdiff
path: root/lib/api/entities.rb
blob: bdc9e09ff1a3d22a8f6b06a4b1e9a76f1900bb5a (plain)
1
2
3
4
5
6
7
8
9
10
11
module API
  module Entities
    class Build < Grape::Entity
      expose :id, :commands, :path, :ref, :sha, :project_id, :repo_url, :before_sha
    end

    class Runner < Grape::Entity
      expose :id, :token
    end
  end
end