Sha256: c6f11f40ba9127bd6fa04cf0fcb61896e8008f00405a9df81a20272af9236c7a

Contents?: true

Size: 1.07 KB

Versions: 1

Compression:

Stored size: 1.07 KB

Contents

module Feedlr
  module Gateway
    # Evernote API
    #
    # @see http://developer.feedly.com/v3/evernote/
    # The following API actions do not have corresponding methods in
    # this module:
    #
    #   * Link Evernote account
    module Evernote
      # Unlink Evernote account
      #
      # @see http://developer.feedly.com/v3/evernote/#unlink-evernote-account
      # @return [Feedlr::Success]
      def unlink_evernote
        build_object(:delete , '/evernote/auth')
      end

      # Get a list of Evernote notebooks (Pro only)
      #
      # @see http://developer.feedly.com/v3/evernote/#get-a-list-of-evernote-notebooks-pro-only
      # @return [Feedlr::Collection]
      def evernote_notebooks
        build_object(:get , '/evernote/notebooks')
      end

      # Save an article as a note (Pro only)
      #
      # @see http://developer.feedly.com/v3/evernote/#save-an-article-as-a-note-pro-only
      # @param entry [Hash]
      # @return [Feedlr::Success]
      def add_to_evernote(entry)
        build_object(:post , '/evernote/note' , entry)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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