module Feedlr::Gateway::Entries
Entries
API
Public Instance Methods
add_entry(entry)
click to toggle source
Create and tag an entry
@see developer.feedly.com/v3/entries/#create-and-tag-an-entry @param entry [Hash] @return [String]
# File lib/feedlr/gateway/entries.rb, line 35 def add_entry(entry) build_object(:post , '/entries' , entry).first end
user_entries(entries_ids , options = {})
click to toggle source
Get the content for a dynamic list of entries
@see developer.feedly.com/v3/entries/#get-the-content-for-a-dynamic-list-of-entries @param entries_ids [Array] list of ids @param options [Hash] @option options [String] :continuation next cursor id @return [Feedlr::Collection]
# File lib/feedlr/gateway/entries.rb, line 23 def user_entries(entries_ids , options = {}) build_object(:post , '/entries/.mget', continuation: options[:continuation], ids: entries_ids ) end
user_entry(entry_id)
click to toggle source
Get the content of an entry
@see user_entries
@param entry_id [String] @return [Feedlr::Base]
# File lib/feedlr/gateway/entries.rb, line 12 def user_entry(entry_id) user_entries([entry_id]).first end