lib/app/routes/get/config.rb in nagira-0.2.6 vs lib/app/routes/get/config.rb in nagira-0.2.7

- old
+ new

@@ -9,10 +9,12 @@ # # @return HTTP response. Hash formatted in the format defined by # requested output type(XML, YAML or JSON). # # + # @method get_config + # @overload get("/_config") # # Get Nagios configuration hash form parsing main Nagios # configuration file nagios.cfg get "/_config" do @data = $nagios[:config].configuration