debian-mirror-gitlab/lib/api/entities/ci/runner.rb
2021-09-30 23:02:18 +05:30

19 lines
390 B
Ruby

# frozen_string_literal: true
module API
module Entities
module Ci
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
end