Hexoku.API.Addons.Available

Add-on Services represent add-ons that may be provisioned for apps. Plans represent different configurations of add-ons that may be added to apps.

Add-on Services Attributes

id
unique identifier of this addon-service
name
unique name of this addon-service
created_at
when item was created
updated_at
when item was last modified

For more info read the Heroku API Reference

Plan Attributes

id
unique identifier of item
name
name of this plan
default
whether this plan is the default for its addon service
description
description of plan
price:cents
price in cents per unit of plan
price:unit
unit of price for plan
state
release status for plan
created_at
when item was created
updated_at
when item was last modified

For more info read the Heroku API Reference

Source

Summary

info(client, service)

Info for existing addon-service

list(client)

List existing addon-services

plan_info(client, service, plan)

Info for existing plan

plans(client, service)

List existing plans

Functions

info(client, service)

Specs:

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

Info for existing addon-service.

Examples

client |> Hexoku.API.Addons.Available.info("heroku-postgresql")
Source
list(client)

Specs:

  • list(Hexoku.Client.t) :: [Map.t]

List existing addon-services.

Examples

client |> Hexoku.API.Addons.Available.list()
Source
plan_info(client, service, plan)

Specs:

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

Info for existing plan.

Examples

client |> Hexoku.API.Addons.Available.plan_info("heroku-postgresql", "heroku-postgresql:dev")
Source
plans(client, service)

Specs:

  • plans(Hexoku.Client.t, binary) :: [Map.t]

List existing plans.

Examples

client |> Hexoku.API.Addons.Available.plans("heroku-postgresql")
Source