Module: Feedlr::Gateway::Shorten
- Included in:
- Client
- Defined in:
- lib/feedlr/gateway/shorten.rb
Overview
Shorten API
Instance Method Summary collapse
-
#shorten_entry(entry_id) ⇒ String
Create a shortened URL for an entry.
Instance Method Details
#shorten_entry(entry_id) ⇒ String
Create a shortened URL for an entry
12 13 14 |
# File 'lib/feedlr/gateway/shorten.rb', line 12 def shorten_entry(entry_id) build_object(:get , "/shorten/entries/#{CGI.escape(entry_id) }") end |