Sha256: 6b255fddbe510188b65c3f1e6ce5616e097b93dbc1fceb5e7da50f64d5e30189

Contents?: true

Size: 900 Bytes

Versions: 3

Compression:

Stored size: 900 Bytes

Contents

Centro Ruby Client
==================

The Centro Ruby Client is used to interact with the Centro API from
Ruby.

For more about the Centro API see <http://api-docs.centro.net>.

Usage
-----

Start by creating a connection to Centro with your credentials:

    require 'centro-client'

    centro = Centro::Client.new(:access_token => ACCESS_TOKEN)

Now you can make requests to the api.

Requests
--------

What follows is an overview of commands you can run for the client.

For additional details about any of the commands, see the [API
docs](http://api-docs.centro.net).

Mock
----

For practice or testing you can also use a simulated Centro:

    require 'centro-client'

    centro = Centro::Client.new(:access_token => ACCESS_TOKEN, :mock => true)

After that commands should still behave the same, but they will only
modify some local data instead of updating the state of things on
Centro.

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
centro-client-0.0.4 README.md
centro-client-0.0.3 README.md
centro-client-0.0.2 README.md