Using double splat operator (#5859)
This commit is contained in:
committed by
Eugen Rochko
parent
42bcbd36b7
commit
b21db9bbde
@ -2,7 +2,7 @@
|
||||
|
||||
class ProviderDiscovery < OEmbed::ProviderDiscovery
|
||||
class << self
|
||||
def discover_provider(url, options = {})
|
||||
def discover_provider(url, **options)
|
||||
res = Request.new(:get, url).perform
|
||||
format = options[:format]
|
||||
|
||||
|
Reference in New Issue
Block a user