barge
barge copied to clipboard
Ruby library for version 2 of DigitalOcean's API
Check this out for more information: https://github.com/lostisland/faraday/commit/067be864a67e791e6766253ce4ef3f5c740caf70
Currently in production we call: droplet.send(:action, remote_id, :enable_backups) in order to access the private action method. Here is the documented api for enabling backups: https://developers.digitalocean.com/documentation/v2/#enable-backups Added a fixture json response...
- Allows continued testing of Ruby 2.0.0 - Allows continued testing of Ruby 1.9.3
- Freeze mutable objects assigned to constants. - Always use raise to signal exceptions.
Closes #17 - aka. Block Storage - List all volumes - List all volumes by region - Retrieve volume by ID - Delete a volume - Create a volume -...
Closes #18 - List all snapshots - List all Droplet snapshots - List all volume snapshots - Retrieve existing snapshot by ID - Delete a snapshot - Update README -...
Add ability to list and remove snapshots https://developers.digitalocean.com/documentation/v2/#snapshots
New Block Storage API: https://developers.digitalocean.com/documentation/v2/#block-storage
Since v2 uses OAuth, it would be nice to have a basic CLI to generate an OAuth token. The dropbox-api has a good example: https://github.com/futuresimple/dropbox-api#web-based-authorization https://github.com/futuresimple/dropbox-api/blob/master/lib/dropbox-api/tasks.rb