summaryrefslogtreecommitdiff
path: root/lib/oxidized/output
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/output')
-rw-r--r--lib/oxidized/output/http.rb4
1 files changed, 3 insertions, 1 deletions
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(