module Feedlr::Gateway::Preferences

Preferences API

@see developer.feedly.com/v3/preferences/

Public Instance Methods

preferences() click to toggle source

Get the preferences of the user

@see developer.feedly.com/v3/preferences/#get-the-preferences-of-the-user @return [Feedlr::Base]

# File lib/feedlr/gateway/preferences.rb, line 11
def preferences
  build_object(:get , '/preferences')
end
update_preferences(preferences) click to toggle source

Update the preferences of the user

@see developer.feedly.com/v3/preferences/#update-the-preferences-of-the-user @param preferences [Hash] @return [Feedlr::Base]

# File lib/feedlr/gateway/preferences.rb, line 20
def update_preferences(preferences)
  build_object(:post , '/preferences' , preferences)
end