summaryrefslogtreecommitdiff
path: root/lib/polyjuice/client.ex
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2020-08-08 09:42:50 -0400
committerHubert Chathi <hubert@uhoreg.ca>2020-08-08 09:42:50 -0400
commit5d9281bb87edaff5bd429c7267c2c0f515a0e57a (patch)
tree86a37afaead0384790af287a231e258161275be2 /lib/polyjuice/client.ex
parentadd 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.ex4
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,