Sha256: aefdf073b4cac8ff5689f1276cfd77e624e56e18607184c97d1c65786659e66f

Contents?: true

Size: 791 Bytes

Versions: 2

Compression:

Stored size: 791 Bytes

Contents

= whitme

whitme is a Ruby library for the URL shortener service whit.me

The whit.me URL service is available at http://whit.me and it's API at
http://www.whit.me/api/docs

== Features

* shortens and expands (multiple) URLs
* 100% API features implemented
* json (json-pure for JRuby) as the only external dependency
* Ruby 1.8, 1.9 and JRuby compatible

== Install

  $ gem sources -a http://gems.github.com
  $ sudo gem install rubenfonseca-whitme

== Example

  require 'whitme'
  url = Whitme.short(:url => 'http://www.google.com', :note => 'foo')
  puts url.hash # the shortened URL
  
  url = Whitme.short(:url => ['http://google.com', 'http://sapo.pt'])
  puts url.hash # the shortened URL for multiple URLs

== Copyright

Copyright (c) 2009 Ruben Fonseca. See LICENSE for details.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubenfonseca-whitme-1.1.0 README.rdoc
rubenfonseca-whitme-1.1.1 README.rdoc