Sizes objects represent different packages of hardware resources that can be used for Droplets. When a Droplet is created, a size must be selected so that the correct resources can be allocated.
Each size represents a plan that bundles together specific sets of resources. This includes the amount of RAM, the number of virtual CPUs, disk space, and transfer. The size object also includes the pricing details and the regions that the size is available in.
Instance Method Summary
Class methods inherited from class
new(headers : HTTP::Headers | Nil)
Instance methods inherited from module
destroy(path, options = nil)
get(path, options = nil)
request(http_method, path, options)
Instance Method Detail
List all of the sizes
The response will be a JSON object with a key called sizes. The value of this will be an array of size objects each of which contain the standard sizes attributes: