From 1209fb0343348f3d71457161625b2b827c6d8717 Mon Sep 17 00:00:00 2001 From: Jeff Groom <33snipehunt@gmail.com> Date: Mon, 22 Feb 2016 16:55:44 +1300 Subject: add requires --- lib/oxidized/output/http.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/oxidized') diff --git a/lib/oxidized/output/http.rb b/lib/oxidized/output/http.rb index 2b18320..13ba300 100644 --- a/lib/oxidized/output/http.rb +++ b/lib/oxidized/output/http.rb @@ -14,7 +14,9 @@ module Oxidized raise NoConfig, 'no output http config, edit ~/.config/oxidized/config' end end - + require "net/http" + require "uri" + require "json" def store node, outputs, opt={} @commitref = nil json = JSON.pretty_generate( -- cgit v1.2.1