module KintoBox

Constants

VERSION

Public Class Methods

new(*args, **kwargs, &blk) click to toggle source

Initializes a new Kinto client.

@param [String] server Url of the server without the version @param [Hash] options Optional parameter. If the hash contains :username

and :password, it will be used to authenticate.
`options` parameter Can be used to pass in
credentials. If no credentials are passed, it looks
for KINTO_API_TOKEN environment variable.

@return [KintoBox::KintoClient] A kinto client object

# File lib/kinto_box.rb, line 19
def self.new(*args, **kwargs, &blk)
  KintoClient.new(*args, **kwargs, &blk)
end