Hexoku.API.Domains
Domains define what web routes should be routed to an app on Heroku.
Attributes
- id
- unique identifier of item generated by Heroku
- hostname
- full hostname
- created_at
- when item was created
- updated_at
- when item was last modified
For more info read the Heroku API Reference
Summary
| create(client, app, domain) | Create a new domain |
| delete(client, app, domain) | Delete an existing domain |
| info(client, app, domain) | Info for existing domain |
| list(client, app) | List existing domains |
Functions
Specs:
- create(Hexoku.Client.t, binary, binary) :: Map.t
Create a new domain.
Examples
client |> Hexoku.API.Domains.create("myapp", "myapp.example.com")
Specs:
- delete(Hexoku.Client.t, binary, binary) :: Map.t
Delete an existing domain
Examples
client |> Hexoku.API.Domains.delete("myapp", "myapp.example.com")