Sha256: 7b464c340fff261299b40e1c742b7d4e949a0435ed4e4cf1ef4f58db1f8290b1
Contents?: true
Size: 238 Bytes
Versions: 12
Compression:
Stored size: 238 Bytes
Contents
# frozen_string_literal: true module Mihari module Controllers class SourcesController < BaseController get "/api/sources" do tags = Mihari::Alert.distinct.pluck(:source) json tags end end end end
Version data entries
12 entries across 12 versions & 1 rubygems