Commit 6c313563830bd7d175748abbfc7138a19017b798

Stephen Moloney 2016-02-12T21:40:15

remove Request/2 for ExOvh.Hubic.OpenstackApi.Request

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/lib/hubic/hubic_api/request.ex b/lib/hubic/hubic_api/request.ex
index 33ddd52..358a8db 100644
--- a/lib/hubic/hubic_api/request.ex
+++ b/lib/hubic/hubic_api/request.ex
@@ -7,12 +7,6 @@ defmodule ExOvh.Hubic.HubicApi.Request do
   # Public
   ###################
 
-
-  @doc "Api for requests to the hubic custom api"
-  @spec request(query :: ExOvh.Client.raw_query_t)
-                :: {:ok, ExOvh.Client.response_t} | {:error, ExOvh.Client.response_t}
-  def request({method, uri, params} = query), do: request(ExOvh, query, 0)
-
   @spec request(client :: atom, query :: ExOvh.Client.raw_query_t, retries :: integer)
                 :: {:ok, ExOvh.Client.response_t} | {:error, ExOvh.Client.response_t}
   def request(client, {method, uri, params} = query, retries \\ 0) do