0.0
No commit activity in last 3 years
No release in over 3 years
The ShortService gem is a layer for talking to the ShortService API.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.1.3
 Project Readme
== About ShortService
The ShortService gem is a layer for talking to the ShortService API (http://shortservice.lassebunk.dk/api), which makes it easy to shorten URLs with any service.

== Installing ShortService
$ sudo gem install shortservice

== Using ShortService
Require ShortService:
  require 'rubygems'
  require 'shortservice'

In your Ruby code, to shorten a URL:
  ShortService::Service.find_by_key("bitly").shorten("http://github.com")

To get a list of all services:
  ShortService::Service.all.each { |s| puts s.key + ": " + s.name}