Class: Eventifier::API::PutPreferences
- Defined in:
- lib/eventifier/api/put_preferences.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#call ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/eventifier/api/put_preferences.rb', line 2 def call Eventifier::Preferences.new(user).update request.params['preferences'] || {} response.body = {'status' => 'OK'} super end |