Module: DigitalOcean::Client::Droplets

Included in:
DigitalOcean::Client
Defined in:
lib/digital_ocean/client/droplets.rb

Overview

Methods for the Droplets API.

Instance Method Summary collapse

Instance Method Details

#dropletsHashie::Mash

Show all active droplets

This method returns all active droplets that are currently running in your account. All available API information is presented for each droplet.

Examples:

client.droplets

Returns:

  • (Hashie::Mash)

    The list of droplets.



18
19
20
# File 'lib/digital_ocean/client/droplets.rb', line 18

def droplets
  get "/droplets", auth_params
end