15 lines
273 B
Ruby
15 lines
273 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module API
|
||
|
module Entities
|
||
|
module Ci
|
||
|
module JobRequest
|
||
|
class Image < Grape::Entity
|
||
|
expose :name, :entrypoint
|
||
|
expose :ports, using: Entities::Ci::JobRequest::Port
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|