Module: Feedlr::Gateway::Preferences
- Included in:
- Client
- Defined in:
- lib/feedlr/gateway/preferences.rb
Overview
Preferences API
Instance Method Summary collapse
-
#preferences ⇒ Feedlr::Base
Get the preferences of the user.
-
#update_preferences(preferences) ⇒ Feedlr::Base
Update the preferences of the user.
Instance Method Details
#preferences ⇒ Feedlr::Base
Get the preferences of the user
11 12 13 |
# File 'lib/feedlr/gateway/preferences.rb', line 11 def preferences build_object(:get , '/preferences') end |
#update_preferences(preferences) ⇒ Feedlr::Base
Update the preferences of the user
20 21 22 |
# File 'lib/feedlr/gateway/preferences.rb', line 20 def update_preferences(preferences) build_object(:post , '/preferences' , preferences) end |