class Object
Public Instance Methods
get_json(url)
click to toggle source
# File bin/riemann-storm, line 7 def get_json(url) response = Net::HTTP.get(URI(url)) return JSON.parse(response) end
# File bin/riemann-storm, line 7 def get_json(url) response = Net::HTTP.get(URI(url)) return JSON.parse(response) end