kmx.io/ex_ovh/docs/getting_started_basic.md

Download

Getting Started (Basic)

Installation

defp deps() do
  [{:ex_ovh, "~> 0.0.1"}]
end

Configuration

Note: The configuration assumes that the environment variables such as EX_OVH_CLIENT_ID are already created.

config :ex_ovh,
  ovh: [
    application_key: System.get_env("EX_OVH_APPLICATION_KEY"),
    application_secret: System.get_env("EX_OVH_APPLICATION_SECRET"),
    consumer_key: System.get_env("EX_OVH_CONSUMER_KEY"),
    endpoint: "ovh-eu",
    api_version: "1.0"
  ],
  httpoison: [ # optional
    connect_timeout: 20000,
    receive_timeout: 100000
  ]
def application do
 [applications: [:ex_ovh]]
end

Source

Download