Sha256: 714682eaa9c693dfc01cdc72dd69833bf5426e80d8449ba22b00045eb821ffb7

Contents?: true

Size: 234 Bytes

Versions: 20

Compression:

Stored size: 234 Bytes

Contents

# frozen_string_literal: true

module Mihari
  module Controllers
    class ConfigController < BaseController
      get "/api/config" do
        report = Status.check

        json report.to_camelback_keys
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
mihari-3.9.0 lib/mihari/web/controllers/config_controller.rb
mihari-3.8.1 lib/mihari/web/controllers/config_controller.rb
mihari-3.8.0 lib/mihari/web/controllers/config_controller.rb
mihari-3.7.2 lib/mihari/web/controllers/config_controller.rb
mihari-3.7.1 lib/mihari/web/controllers/config_controller.rb
mihari-3.7.0 lib/mihari/web/controllers/config_controller.rb
mihari-3.6.1 lib/mihari/web/controllers/config_controller.rb
mihari-3.6.0 lib/mihari/web/controllers/config_controller.rb
mihari-3.5.0 lib/mihari/web/controllers/config_controller.rb
mihari-3.4.1 lib/mihari/web/controllers/config_controller.rb
mihari-3.4.0 lib/mihari/web/controllers/config_controller.rb
mihari-3.3.0 lib/mihari/web/controllers/config_controller.rb
mihari-3.2.0 lib/mihari/web/controllers/config_controller.rb
mihari-3.1.0 lib/mihari/web/controllers/config_controller.rb
mihari-3.0.1 lib/mihari/web/controllers/config_controller.rb
mihari-3.0.0 lib/mihari/web/controllers/config_controller.rb
mihari-2.4.0 lib/mihari/web/controllers/config_controller.rb
mihari-2.3.1 lib/mihari/web/controllers/config_controller.rb
mihari-2.3.0 lib/mihari/web/controllers/config_controller.rb
mihari-2.2.1 lib/mihari/web/controllers/config_controller.rb