Sha256: 5a06210e47c53dbcc68636a71c2adf344f9a13902b2e5dd6ebfbf6950db07baa
Contents?: true
Size: 527 Bytes
Versions: 9
Compression:
Stored size: 527 Bytes
Contents
# frozen_string_literal: true module Mihari module Web module Endpoints # # Config API endpoint # class Configs < Grape::API namespace :configs do desc "list configs", { is_array: true, success: Entities::Configs, summary: "List configs" } get "/" do configs = Services::ConfigSearcher.call present({results: configs}, with: Entities::Configs) end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems