Sha256: c5786d6789b8ccaa39d010dea7e00cc7778d0c99345228641e4fe9d49af41ecc

Contents?: true

Size: 691 Bytes

Versions: 1

Compression:

Stored size: 691 Bytes

Contents

= ShortURL

== Summary 
ShortURL is a very simple library to use URL shortening services such as
TinyURL or RubyURL.

== Installation
<tt>$ gem install -r shorturl</tt>

== Usage: 
call-seq:
  require "shorturl"
  puts ShortURL.shorten("http://mypage.com")
  puts ShortURL.shorten("http://mypage.com", :tinyurl)

The second parameter represents the service you want to use.  These are:
- <tt>:rubyurl</tt>
- <tt>:tinyurl</tt>
- <tt>:snorl</tt>
- <tt>:snipurl</tt>
- <tt>:metamark</tt>

== Thanks
- Marcel Molina Jr., Devin Mullins for some ideas
- imperator from #ruby-lang (don't know your real name, sorry) for
  helping me with creating and uploading a RubyGem
  
== Author
Vincent Foley

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shorturl-0.2.0 README