Post to '/' to save a url and receive a plaintext short url in response. Example:
curl -X POST http://cloo.ps/http://some.url/at.someplace

Also, try the official Ruby client