wrata-api
Ruby Library for access API of WRATA service Used in QA team of ONLYOFFICE
Installation
Add this line to your application's Gemfile:
gem 'wrata_api'And then execute:
bundleOr install it yourself as:
gem install wrata_apiUsage
Create yml file located in ~/.gem-wrata/config.yaml
With content:
cookie: wrata_cookie
csrf_token: your_token
uri: http://0.0.0.0:3000
wrata_session: session_keyAnd use it like this:
require 'wrata_api'
WrataApi::WrataApi.new.serversLicense
gem-wrata_api is released under an GNU AGPL v3.0 license. See the LICENSE file for more information.