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