Class EtherpadLite::Client
In: lib/etherpad-lite/client.rb
Parent: Object

A thin wrapper around Etherpad Lite‘s HTTP JSON API. See the API documentation at etherpad.org/doc/v1.2.0/#index_api_methods.

Methods

Attributes

api_key  [R]  The API key
api_version  [R]  The API version string
uri  [R]  A URI object containing the URL of the Etherpad Lite instance

Public Class methods

Instantiate a new Etherpad Lite Client. You may pass a full url or just a port number. The api key may be a string or a File object. If you do not specify an API version, it will default to the latest version.

Public Instance methods

[Validate]