mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-07 17:36:22 +08:00
13 lines
212 B
Ruby
13 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
|