summaryrefslogtreecommitdiff
path: root/lib/api/entities.rb
blob: 68b05cb81aa5a03bba999b8966a56a42cb435eb7 (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
    end

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