Closed hadley closed 10 years ago
I'd make them start with droplet_
and take a droplet as first argument. e.g. do_droplets_power_on
would become:
droplet_power_on <- function(droplet, ...) {
path <- sprintf('droplets/%s/power_on', droplet$id)
do_GET(path, ...)
}
To make the droplets functions even more useful, they should always return a droplet object. Then you could use %>%
to pipe multiple operations together.
Starting with droplet
makes sense. Good idea to facilitate use of %>%
closing this, opened new issue in #10
Yeah, probably not needed, though some fxns I worry may conflict like
keys
orregions