ExOvh v0.3.0 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 default :hackney options to be sent with each request

Gets all the :ovh configuration settings

Sends a request to the ovh api using httpipe

Sends a request to the ovh api using httpipe

Starts the client supervision tree

Functions

config()
config() :: Keyword.t

Gets all the application configuration settings

hackney_opts()
hackney_opts() :: Keyword.t

Gets all the default :hackney options to be sent with each request

ovh_config()
ovh_config() :: Keyword.t

Gets all the :ovh configuration settings

request(conn)
request(HTTPipe.Conn.t) ::
  {:ok, HTTPipe.Conn.t} |
  {:error, HTTPipe.Conn.t}

Sends a request to the ovh api using httpipe.

request!(conn)
request!(HTTPipe.Conn.t) :: HTTPipe.Conn.t | no_return

Sends a request to the ovh api using httpipe.

start_link(sup_opts \\ [])

Starts the client supervision tree