Sha256: 6ab08df56ccf1e77912cea9cd858c2c2e0959f8b264f46654dc0c4898f41d17e

Contents?: true

Size: 877 Bytes

Versions: 1

Compression:

Stored size: 877 Bytes

Contents

# Tent Ruby Client ![Build Status](https://magnum.travis-ci.com/tent/tent-client-ruby.png?branch=master&token=YmxLSPgdpsxNUMWJpzRx)

TentClient implements a [Tent Protocol](http://tent.io) client library in Ruby.
It is incomplete, currently only the endpoints required by
[tentd](https://github.com/tent/tentd) and
[tentd-admin](https://github.com/tent/tentd-admin) have been implemented.

## Usage

```ruby
# Tent profile discovery
TentClient.new.discover("http://tent-user.example.org")

# Server communication
client = TentClient.new('http://tent-user.example.org',
                        :mac_key_id => 'be94a6bf',
                        :mac_key => '974af035',
                        :mac_algorithm => 'hmac-sha-256')
client.following.create('http://another-tent.example.com')
```

## Contributions

If you find missing endpoints/actions, please submit a pull request.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tent-client-0.0.1 README.md