Class: Shortie::Shorteners::Idek

Inherits:
BaseShortener show all
Defined in:
lib/shortie/shorteners/idek.rb

Instance Attribute Summary

Attributes inherited from BaseShortener

#url

Instance Method Summary collapse

Methods inherited from BaseShortener

#initialize, shorten

Constructor Details

This class inherits a constructor from Shortie::BaseShortener

Instance Method Details

#shortenObject



4
5
6
# File 'lib/shortie/shorteners/idek.rb', line 4

def shorten
  SimpleHttp.get("http://idek.net/shorten/?idek-api=true&idek-url=#{escaped_url}")
end