diff options
author | Jeff Groom <33snipehunt@gmail.com> | 2016-02-22 16:55:44 +1300 |
---|---|---|
committer | Jeff Groom <33snipehunt@gmail.com> | 2016-02-22 16:55:44 +1300 |
commit | 1209fb0343348f3d71457161625b2b827c6d8717 (patch) | |
tree | 57c86a9b8406f7f04fed4cf3a4d458473a0e4b98 /lib/oxidized/output | |
parent | 219880c35151fe071a855205bc33de599a0f0991 (diff) |
add requires
Diffstat (limited to 'lib/oxidized/output')
-rw-r--r-- | lib/oxidized/output/http.rb | 4 |
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( |