Hexoku.API.Sources
A source is a location for uploading and downloading an application’s source code.
Attributes
- source_blob:get_url
- URL to download the source
- source_blob:put_url
- URL to upload the source
For more info read the Heroku API Reference
Summary
| create(client, app, payload \\ %{}) | Create URLs for uploading and downloading source |
Functions
Specs:
Create URLs for uploading and downloading source.
Payload Attributes
- source_blob:get_url
- URL to download the source
- source_blob:put_url
- URL to upload the source
Examples
client |> Hexoku.API.Sources.create("myapp")
client |> Hexoku.API.Sources.create("myapp", %{ source_blob: %{
get_url: "https://api.heroku.com/slugs/1234.tgz",
put_url: "https://api.heroku.com/slugs/1234.tgz"
}})