Module: Feedbook::LiquidExtensions::Filters::GooglShortenerFilter
- Defined in:
- lib/feedbook/liquid_extensions/filters/googl_shortener_filter.rb
Instance Method Summary collapse
-
#googl(input) ⇒ String
Shorten links with goo.gl.
Instance Method Details
#googl(input) ⇒ String
Shorten links with goo.gl
13 14 15 16 |
# File 'lib/feedbook/liquid_extensions/filters/googl_shortener_filter.rb', line 13 def googl(input) url = Googl.shorten(input) url.short_url end |