module Feedlr::Gateway::Opml
OPML API
Public Instance Methods
import_opml(io_stream)
click to toggle source
Import an OPML
@see developer.feedly.com/v3/opml/#import-an-opml @param io_stream [IOStream] Any IOStream object @return [Feedlr::Success]
# File lib/feedlr/gateway/opml.rb, line 20 def import_opml(io_stream) build_object(:post, '/opml', io_stream.read, :'Content-Type' => 'text/xml') end
user_opml()
click to toggle source
Export the user’s subscriptions as an OPML file
@see developer.feedly.com/v3/opml/#export-the-users-subscriptions-as-an-opml-file @return [Feedlr::Base]
# File lib/feedlr/gateway/opml.rb, line 11 def user_opml build_object(:get, '/opml', {}, :'Content-Type' => 'text/xml') end