ExOvh v0.1.1 ExOvh
A default client for sending requests to the OVH API.
ExOvh
is the default client. Additional clients such as MyApp.MyClient.Ovh
can be created - see PAGES
.
Summary
Functions
Gets all the application configuration settings
Gets all the :httpoison
configuration settings
Gets all the :ovh
configuration settings
Prepares a request prior to sending by adding metadata such as authorization headers
Sends a request to the ovh api using httpoison
Sends a request to the ovh api using httpoison
Starts the client supervision tree
Functions
Specs
httpoison_config :: Keyword.t
Gets all the :httpoison
configuration settings
Specs
prepare_request(ExOvh.Query.t, Keyword.t) ::
{:ok, ExOvh.Response.t} |
{:error, ExOvh.Response.t}
Prepares a request prior to sending by adding metadata such as authorization headers.
Specs
request(ExOvh.Query.t | ExOvh.HttpQuery.t, Keyword.t) ::
{:ok, ExOvh.Response.t} |
{:error, ExOvh.Response.t}
Sends a request to the ovh api using httpoison.