Sha256: 9798372db71205f59b8b94a858ffeb131a8dbe938481591cd03142daa96cbe95
Contents?: true
Size: 318 Bytes
Versions: 3
Compression:
Stored size: 318 Bytes
Contents
module Shorty # is.gd API as defined http://is.gd/api_info.php class Isgd include HTTParty def shorten(url) self.class.get('http://is.gd/api.php', :query => {:longurl => url}) end def self.shorten(url) get('http://is.gd/api.php', :query => {:longurl => url}) end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
drcapulet-shorty-0.1.0 | lib/shorty/isgd.rb |
drcapulet-shorty-0.1.1 | lib/shorty/isgd.rb |
shorty-0.1.1 | lib/shorty/isgd.rb |