Fix broken oEmbed provider (#2537)

This commit is contained in:
Yamagishi Kazutoshi 2017-04-28 02:29:11 +09:00 committed by Eugen Rochko
parent c69e74d9ba
commit cc6d730bdc

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true # frozen_string_literal: true
class ProviderDiscovery < OEmbed::ProviderDiscovery class ProviderDiscovery < OEmbed::ProviderDiscovery
include HttpHelper extend HttpHelper
class << self class << self
def discover_provider(url, options = {}) def discover_provider(url, options = {})