OceanKit::Resource::Droplet
Inherits OceanKit::Resource::Base / OceanKit::Client::Connection / Reference / Object
Instance methods
all(tag)
Sourceall
Sourcecreate(options)
Create new droplet ok.droplets.create( {name: "12.com", region: "nyc3", size: "512mb", image: "ubuntu-16-04-x64", ipv6: "true", tags: ["web"]})
delete(id)
Delete a Droplet by ID
No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.
delete_for_tag(tag)
Delete a Droplet by TAG
No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.
droplets
Source