Sha256: 08bf90dc0e1cdfbf23ff52ea191674eca8ecb6c454a1eadf2465e7e1986cd470

Contents?: true

Size: 719 Bytes

Versions: 1

Compression:

Stored size: 719 Bytes

Contents

module Feedlr
  module Gateway
    # Preferences API
    #
    # @see http://developer.feedly.com/v3/preferences/
    module Preferences
      # Get the preferences of the user
      #
      # @see http://developer.feedly.com/v3/preferences/#get-the-preferences-of-the-user
      # @return [Feedlr::Base]
      def preferences
        build_object(:get , '/preferences')
      end

      # Update the preferences of the user
      #
      # @see http://developer.feedly.com/v3/preferences/#update-the-preferences-of-the-user
      # @param preferences [Hash]
      # @return [Feedlr::Base]
      def update_preferences(preferences)
        build_object(:post , '/preferences' , preferences)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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