Sha256: 0f965636603ef4ae6e8b29bbd75e9e968b743733c771b17afcdcd1515bf9731a

Contents?: true

Size: 728 Bytes

Versions: 1

Compression:

Stored size: 728 Bytes

Contents

module Feedlr
  module Gateway
    # Feeds API
    #
    # @see http://developer.feedly.com/v3/feeds/
    module Feeds
      # Get the metadata about a specific feed
      #
      # @see http://developer.feedly.com/v3/feeds/#get-the-metadata-about-a-specific-feed
      # @param feed_id [String]
      # @return [Feedlr::Base]
      def feed(feed_id)
        feeds([feed_id]).first
      end

      # Get the metadata for a list of feeds
      #
      # @see http://developer.feedly.com/v3/feeds/#get-the-metadata-for-a-list-of-feeds
      # @param feeds_ids [Array] list of ids
      # @return [Feedlr::Collection]
      def feeds(feeds_ids)
        build_object(:post , '/feeds/.mget' , feeds_ids)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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