Module: OpenprojectApi::Client::UserPreferences

Included in:
OpenprojectApi::Client
Defined in:
lib/openproject_api/client/user_preferences.rb

Instance Method Summary collapse

Instance Method Details

#my_preferences(*args) ⇒ Object



4
5
6
# File 'lib/openproject_api/client/user_preferences.rb', line 4

def my_preferences(*args)
	get('/api/v3/my_preferences', *args)
end

#update_my_preferences(body, *args) ⇒ Object



8
9
10
# File 'lib/openproject_api/client/user_preferences.rb', line 8

def update_my_preferences(body, *args)
	patch('/api/v3/my_preferences', body, *args)
end