diff options
author | Hubert Chathi <hubert@uhoreg.ca> | 2020-08-08 09:42:50 -0400 |
---|---|---|
committer | Hubert Chathi <hubert@uhoreg.ca> | 2020-08-08 09:42:50 -0400 |
commit | 5d9281bb87edaff5bd429c7267c2c0f515a0e57a (patch) | |
tree | 86a37afaead0384790af287a231e258161275be2 /lib/polyjuice/client.ex | |
parent | add test mode which changes post requests to put, so that mod_esi will accept it (diff) |
s/Any/any/ in typespecs
Diffstat (limited to 'lib/polyjuice/client.ex')
-rw-r--r-- | lib/polyjuice/client.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/polyjuice/client.ex b/lib/polyjuice/client.ex index 8ab0e49..dfe8775 100644 --- a/lib/polyjuice/client.ex +++ b/lib/polyjuice/client.ex @@ -79,7 +79,7 @@ defmodule Polyjuice.Client do @spec call( client_api :: Polyjuice.Client.API.t(), endpoint :: Polyjuice.Client.Endpoint.Proto.t() - ) :: Any + ) :: any def call(client_api, endpoint) @doc """ @@ -188,7 +188,7 @@ defmodule Polyjuice.Client do - `timeout:` (integer) the number of milliseconds to wait before the server returns """ - @spec sync(client_api :: Polyjuice.Client.API.t(), opts :: list()) :: {:ok, map()} | Any + @spec sync(client_api :: Polyjuice.Client.API.t(), opts :: list()) :: {:ok, map()} | any def sync(client_api, opts \\ []) when is_list(opts) do Polyjuice.Client.API.call( client_api, |