discourse/lib/onebox/engine/json.rb
2021-10-27 11:39:28 +03:00

14 lines
212 B
Ruby

# frozen_string_literal: true
module Onebox
module Engine
module JSON
private
def raw
@raw ||= ::MultiJson.load(URI.parse(url).open(read_timeout: timeout))
end
end
end
end