OnlyofficeDigitaloceanWrapper
Gem for working with DigitalOcean API
Installation
Add this line to your application's Gemfile:
gem 'onlyoffice_digitalocean_wrapper'And then execute:
bundleOr install it yourself as:
gem install onlyoffice_digitalocean_wrapperConfigure
You should get access token via
visiting this url
Access token can be initialized in two ways:
-
Save to
~/.do/access_tokenmkdir ~/.do echo 'token' > ~/.do/access_token
-
Set to
DO_ACCESS_TOKENenv. Can be setup via~/.bashrcecho "export DO_ACCESS_TOKEN='token'" >> ~/.bashrc