module Sensu::API::Routes::Settings

Constants

SETTINGS_URI

Public Instance Methods

get_settings() click to toggle source

GET /settings

# File lib/sensu/api/routes/settings.rb, line 12
def get_settings
  if @params[:redacted] == "false"
    @response_content = @settings.to_hash
  else
    @response_content = redact_sensitive(@settings.to_hash)
  end
  respond
end