DigitalOcean.Volume.create
You're seeing just the function
create
, go back to DigitalOcean.Volume module for more information.
Link to this function
create(opts)
Specs
create(Keyword.t()) :: DigitalOcean.Operation.t()
Create a volume.
Examples
iex> DigitalOcean.Volume.create(
...> name: "example",
...> region: "nyc1",
...> size_gigabytes: 10
...> ) |> DigitalOcean.request()
{ :ok, %DigitalOcean.Response{} }