Welcome to mirror list, hosted at ThFree Co, Russian Federation.

runner.rb « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e78f14cf9207bdc5109873e11983f37fd8a0c44b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

module API
  module Entities
    class Runner < Grape::Entity
      expose :id
      expose :description
      expose :ip_address
      expose :active
      expose :instance_type?, as: :is_shared
      expose :runner_type
      expose :name
      expose :online?, as: :online
      expose :status
    end
  end
end