lib/onebox/engine/json.rb in onebox-2.2.2 vs lib/onebox/engine/json.rb in onebox-2.2.4

- old
+ new

@@ -4,10 +4,10 @@ module Engine module JSON private def raw - @raw ||= ::MultiJson.load(open(url, read_timeout: timeout)) + @raw ||= ::MultiJson.load(URI.open(url, read_timeout: timeout)) end end end end