Closed kevinykuo closed 5 years ago
@coatless @mine-cetinkaya-rundel would be great if y'all can give this a whirl sometime!
Quick glance over the restructured code, I think the invitation_send()
functionality will be confused w.r.t. space_member_add()
. Perhaps the earlier function could be renamed?
I'll dig a bit deeper tomorrow.
I think this is pretty well marinated, merging!
This PR is a reboot of the package with major API changes. Usage examples can be found in the
README
. The main design decisions are as follows:noun_verb()
throughout, wherenoun
(always singular) tells the type of the first argument and not necessarily the REST endpoint. The space listing function has been renamed torscloud_space_list()
.status
attribute).RSCLOUD_CLIENT_ID
andRSCLOUD_CLIENT_SECRET
) instead of aconfig.yml
in the project directory. Secrets are no longer cached in package globals, and spends a minimal amount of time in process memory. (Closes #11)rscloud_{api_url/host}_set()
functions or by setting the environment variablesRSCLOUD_API_URL
andRSCLOUD_HOST
. We can re-introduce a config file in the future for specifying e.g. instance sizes.