gitlab-org--gitlab-foss/app/serializers/web_ide_terminal_entity.rb

13 lines
299 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class WebIdeTerminalEntity < Grape::Entity
expose :id
expose :status
expose :show_path
expose :cancel_path
expose :retry_path
expose :terminal_path
expose :services
expose :proxy_websocket_path, if: ->(_) { Feature.enabled?(:build_service_proxy) }
end