Sha256: 6d168bc79f6c335210ce861a6abe7ae49d4bdcb6c967459393a9c109fa2ee599
Contents?: true
Size: 514 Bytes
Versions: 14
Compression:
Stored size: 514 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::Config, summary: "List configs" } get "/" do configs = Services::ConfigSearcher.call present(configs, with: Entities::Config) end end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems