Creating a VPC returns nil
Opened this issue · 1 comments
joaomarceloods commented
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:
require "droplet_kit"
client = DropletKit::Client.new(access_token: "your_token")
vpc = DropletKit::VPC.new(name: "example", region: "nyc3")
client.vpcs.create(vpc) # => nil
Using droplet_kit-3.8.0
viola commented
@joaomarceloods thank you for letting us know about this issue, above PR is the fix.