module Feedlr::Gateway::Topics
Topics
API
Public Instance Methods
add_topic(topic)
click to toggle source
Add a topic to the user feedly account
@see developer.feedly.com/v3/topics/#add-a-topic-to-the-user-feedly-account @param topic [Hash] @return [Feedlr::Success]
# File lib/feedlr/gateway/topics.rb, line 20 def add_topic(topic) build_object(:post , '/topics' , topic) end
delete_topic(topic_id)
click to toggle source
Remove a topic from a feedly account
@see developer.feedly.com/v3/topics/#remove-a-topic-from-a-feedly-account @param topic_id [String] @return [Feedlr::Success]
# File lib/feedlr/gateway/topics.rb, line 38 def delete_topic(topic_id) build_object(:delete , "/topics/#{CGI.escape(topic_id) }") end
update_topic(topic)
click to toggle source
Update an existing topic
@see developer.feedly.com/v3/topics/#update-an-existing-topic @param topic [Hash] @return [Feedlr::Success]
# File lib/feedlr/gateway/topics.rb, line 29 def update_topic(topic) build_object(:post , '/topics' , topic) end
user_topics()
click to toggle source
Get the list of topics the user has added to their feedly
@see developer.feedly.com/v3/topics/#get-the-list-of-topics-the-user-has-added-to-their-feedly @return [Feedlr::Collection]
# File lib/feedlr/gateway/topics.rb, line 11 def user_topics build_object(:get , '/topics') end