From 31643e732468d9b3513c5d14a3ca48992fe46bc5 Mon Sep 17 00:00:00 2001 From: Clifton McIntosh Date: Sun, 11 Sep 2022 17:19:00 -0500 Subject: [PATCH] Use process_request_url in docs instead of deprecated process_url --- lib/httpoison/base.ex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/httpoison/base.ex b/lib/httpoison/base.ex index 45f42be..1850507 100644 --- a/lib/httpoison/base.ex +++ b/lib/httpoison/base.ex @@ -11,7 +11,7 @@ defmodule HTTPoison.Base do @endpoint "https://api.github.com" - def process_url(url) do + def process_request_url(url) do @endpoint <> url end end @@ -32,8 +32,8 @@ defmodule HTTPoison.Base do # Called in order to process the url passed to any request method before # actually issuing the request. - @spec process_url(binary) :: binary - def process_url(url) + @spec process_request_url(binary) :: binary + def process_request_url(url) # Called to arbitrarily process the request body before sending it with the # request.