class Sidekiq::WebRoute

def match(request_method, path)

def match(request_method, path)
  case matcher
  when String
    {} if path == matcher
  else
    path_match = path.match(matcher)
    path_match&.named_captures&.transform_keys(&:to_sym)
  end
end