Skip to content

ONLYOFFICE-QA/wrata_api

Repository files navigation

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:

bundle

Or install it yourself as:

 gem install wrata_api

Usage

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_key

And use it like this:

require 'wrata_api'
WrataApi::WrataApi.new.servers

License

gem-wrata_api is released under an GNU AGPL v3.0 license. See the LICENSE file for more information.