No description, website, or topics provided.
Latest commit 78196bf Jun 27, 2012 @rogerleite rogerleite Merge pull request #1 from georgeguimaraes/master
Changes some references to in comments to


A Ruby API for

More information for API here:

Project goals: *Easy to use *Flexible to configure *No external dependencies


gem install abrio


Case 1:

require "rubygems"
require "abrio"

client = => "login", :key => "Z_123")
url = client.shorten("")
url.short_url  #=> ""

Case 2:

require "rubygems"
require "abrio"

#This is useful to setup config at Rails initializer for example.
Abrio.setup do |client|
  client.uri = ""
  client.login = "login"
  client.key = "key"
url = Abrio.shorten("")
url.short_url  #=> ""

Running the Tests

Install development dependencies with:

$ bundle install

To run the test suite:

$ rake test


Once you've made your great commits:

  1. Fork abrio
  2. Create a topic branch - git checkout -b my_branch
  3. Push to your branch - git push origin my_branch
  4. Create an Issue with a link to your branch
  5. That's it!