A layer for talking to the ShortService API.
lassebunk/shortservice
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
== 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}
About
A layer for talking to the ShortService API.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published