This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit e28d6365ccb85750df6afadab245bdb6c330477f
tree e86ddaf95eac60b4c53c06d3f47c62bb7d976b53
parent 37580d5fb74f94d0e3cfb26df5bbee8ae8e6767e
tree e86ddaf95eac60b4c53c06d3f47c62bb7d976b53
parent 37580d5fb74f94d0e3cfb26df5bbee8ae8e6767e
whitme /
| name | age | message | |
|---|---|---|---|
| |
.autotest | ||
| |
.document | ||
| |
.gitignore | ||
| |
LICENSE | ||
| |
README.rdoc | ||
| |
Rakefile | ||
| |
VERSION.yml | ||
| |
lib/ | ||
| |
spec/ | ||
| |
whitme.gemspec |
README.rdoc
whitme
whitme is a Ruby library for the URL shortener service whit.me
The whit.me URL service is available at whit.me and it’s API at 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 © 2009 Ruben Fonseca. See LICENSE for details.








