debian-mirror-gitlab/app/serializers/web_ide_terminal_entity.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
299 B
Ruby
Raw Normal View History

2020-06-23 00:09:42 +05:30
# 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