Skip to content

germs12/tent-client-ruby

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tent Ruby Client Build Status

TentClient implements a Tent Protocol client library in Ruby. It is incomplete, currently only the endpoints required by tentd and tentd-admin have been implemented.

Usage

# 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.

About

Ruby Tent protocol client

Resources

License

Stars

Watchers

Forks

Packages

No packages published