class Eventifier::API::PutPreferences
Public Instance Methods
call()
click to toggle source
Calls superclass method
Eventifier::API::Base#call
# 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