summaryrefslogtreecommitdiff
path: root/lib/api/entities/internal.rb
blob: 8f79bd14833deb853d8e06ad4cb37d0666b2fcf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

module API
  module Entities
    module Internal
      module Pages
        class LookupPath < Grape::Entity
          expose :project_id, :access_control,
            :source, :https_only, :prefix
        end

        class VirtualDomain < Grape::Entity
          expose :certificate, :key
          expose :lookup_paths, using: LookupPath
        end
      end
    end
  end
end