Hexoku.API.Config

Config Vars allow you to manage the configuration information provided to an app on Heroku.

For more info read the Heroku API Reference

Source

Summary

list(client, app)

Get config-vars for app

update(client, app, body)

Update config-vars for app

Functions

list(client, app)

Specs:

  • list(Hexoku.Client.t, binary) :: Map.t

Get config-vars for app.

Examples

client |> Hexoku.API.Config.list("myapp")
Source
update(client, app, body)

Specs:

Update config-vars for app.

You can update existing config-vars by setting them again, and remove by setting it to nil.

Examples

client |> Hexoku.API.Config.update("myapp", %{
    "FOO": "BAR",
    "OLD_STUFF": nil
})
Source