Sha256: 228da6f32f7c78433499fdd4163e6c8f16d17bfa97ec8adf42f5736183ea1c63

Contents?: true

Size: 459 Bytes

Versions: 1

Compression:

Stored size: 459 Bytes

Contents

module Feedlr
  module Gateway
    # Shorten API
    #
    # @see http://developer.feedly.com/v3/shorten/
    module Shorten
      # Create a shortened URL for an entry
      #
      # @see http://developer.feedly.com/v3/shorten/#create-a-shortened-url-for-an-entry
      # @param entry_id [String]
      # @return [String]
      def shorten_entry(entry_id)
        build_object(:get , "/shorten/entries/#{CGI.escape(entry_id) }")
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
feedlr-0.1.0 lib/feedlr/gateway/shorten.rb