summaryrefslogtreecommitdiff
path: root/app/serializers/web_ide_terminal_entity.rb
blob: e2e90e824e7ecea79833a910884dacc499510f87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# 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