debian-mirror-gitlab/lib/api/entities/ci/resource_group.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
577 B
Ruby
Raw Normal View History

2021-11-18 22:05:49 +05:30
# frozen_string_literal: true
module API
module Entities
module Ci
class ResourceGroup < Grape::Entity
2023-01-13 00:05:48 +05:30
expose :id, documentation: { type: 'integer', example: 1 }
expose :key, documentation: { type: 'string', example: 'production' }
expose :process_mode, documentation: { type: 'string', example: 'unordered' }
expose :created_at, documentation: { type: 'dateTime', example: '2021-09-01T08:04:59.650Z' }
expose :updated_at, documentation: { type: 'dateTime', example: '2021-09-01T08:04:59.650Z' }
2021-11-18 22:05:49 +05:30
end
end
end
end