2020-03-09 13:42:32 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module API
|
|
|
|
module Entities
|
|
|
|
module JobRequest
|
|
|
|
class Artifacts < Grape::Entity
|
|
|
|
expose :name
|
|
|
|
expose :untracked
|
|
|
|
expose :paths
|
2020-05-24 23:13:21 +05:30
|
|
|
expose :exclude, expose_nil: false
|
2020-03-09 13:42:32 +05:30
|
|
|
expose :when
|
|
|
|
expose :expire_in
|
|
|
|
expose :artifact_type
|
|
|
|
expose :artifact_format
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|