A ruby wrapper for tr.im
Written by Robin Fisher in 116 words
18
Oct
I’ve spent the weekend creating my first gem release, version 0.0.1 of which is now available.
The purpose of the gem is to provide a wrapper around the tr.im api. At the moment, it only supports the ability to trim a larger url down to size. I found this to be a good introduction to working with an API as no authentication is required for this basic functionality. Over time, I intend to add in the other functionality supported by the API.
Following Github’s decision to not support the creation of new gems, the gem is stored at Gemcutter. To install, you will need to do the following:
gem sources -a http://gemcutter.org/ gem install trim-api
I hope it is of use.