debian-mirror-gitlab/lib/api/entities/ci/job_artifact_file.rb
2023-01-13 15:02:22 +05:30

12 lines
322 B
Ruby

# frozen_string_literal: true
module API
module Entities
module Ci
class JobArtifactFile < Grape::Entity
expose :filename, documentation: { type: 'string', example: 'artifacts.zip' }
expose :cached_size, as: :size, documentation: { type: 'integer', example: 1000 }
end
end
end
end