Sha256: 2d3d23597802cc981315d2c1b21d3dc7a16a8c1659a00c397b8fc5f13d0c77b9
Contents?: true
Size: 743 Bytes
Versions: 1
Compression:
Stored size: 743 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> - <tt>:makeashorterlink</tt> - <tt>:skinnylink</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.1 | README |