droplet_kit
droplet_kit copied to clipboard
DropletKit is the official DigitalOcean API client for Ruby.
I'm noticing that certain resource requests have different error handling. For instance, returning a 422 for a volume action will raise a `FailedCreate` error, but a 429 response doesn't raise...
I am trying to use gem in Ruby 3 Ractor. I got few exceptions like this: ``` :694:in `take': thrown by remote Ractor. (Ractor::RemoteError) .rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/droplet_kit-3.15.0/lib/droplet_kit/client.rb:78:in `default_user_agent': can not access non-shareable...
I would like to access the App Platform API using the `droplet_kit` gem instead of the `doctl` cli. Are there any plans to do it soon? I can volunteer to...
DigitalOcean Managed Kubernetes (aka DOKS) added support for _persistent node pool taints_ recently. (See the [announcement on the API change log](https://developers.digitalocean.com/documentation/changelog/api-v2/persistent-node-pool-taints/).) It'd be great to see droplet_kit getting extended to...
Creating a VPC returns `nil`. I believe it should return at least the `id` of the newly-created VPC, so you can find it. Snippet to reproduce: ```ruby require "droplet_kit" client...
when looking at an instance type for a node pool, it shows "available" memory. Is there a way to get this from the API? 
Faraday includes [a retry middleware module](https://github.com/lostisland/faraday/blob/master/lib/faraday/request/retry.rb). At present, `droplet_kit` does not expose this thus retries are not configurable _unless_ the client's `initialize` and `connection` methods are overridden into a new...
It would be great to have some high-level APIs to upload, download, and keep files in sync. Here is the documentation: https://developers.digitalocean.com/documentation/spaces/
I am reporting issue more on the core API, instead of the ruby interface, as this happens on both ruby and curl. When I try to add a droplet into...
hi i want return DO errors as json for sample i create one droplet like this ` "zoodfish", :@region=>"blah blah", :@size=>"512mb", :@image=>14782899, :@ipv6=>true, :@tags=>["namechip"], :@id=>nil, :@memory=>nil, :@vcpus=>nil, :@disk=>nil, :@locked=>nil, :@created_at=>nil,...