class Faraday::Connection
def build_url(url = nil, extra_params = nil)
-
extra_params
(Hash
) -- -
url
(String, URI, nil
) --
def build_url(url = nil, extra_params = nil) uri = build_exclusive_url(url) query_values = params.dup.merge_query(uri.query, options.params_encoder) query_values.update(extra_params) if extra_params uri.query = if query_values.empty? nil else query_values.to_query(options.params_encoder) end uri end