Module: Feedlr::Gateway::Shorten

Included in:
Client
Defined in:
lib/feedlr/gateway/shorten.rb

Overview

Shorten API

Instance Method Summary collapse

Instance Method Details

#shorten_entry(entry_id) ⇒ String

Create a shortened URL for an entry

Parameters:

  • entry_id (String)

Returns:

  • (String)

See Also:



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