netshade / trim

Ruby interface to the tr.im URL shortening API

This URL has Read+Write access

trim /
name age message
file README Loading commit data...
file trim.rb
README
Ruby interface to tr.im URL shortening API.

See trim.rb for documentation and usage.

Quick examples:
require "trim"
client = Trim.new
data, response = client.trim_url("http://www.youtube.com/watch?v=zZyGaVNihK0")
puts data["url"] #=> http://tr.im/i2E7
url, response = client.trim_simple("http://www.yeti-factory.org/", :custom => "theyetifactory")
puts url #=> http://tr.im/theyetifactory

CZ, Indianapolis Star