lib/fog/openstack/requests/identity/update_user.rb in fog-1.11.1 vs lib/fog/openstack/requests/identity/update_user.rb in fog-1.12.0
- old
+ new
@@ -4,10 +4,10 @@
class Real
def update_user(user_id, options = {})
url = options.delete('url') || "/users/#{user_id}"
request(
- :body => Fog::JSON.encode({ 'user' => options }),
+ :body => MultiJson.encode({ 'user' => options }),
:expects => 200,
:method => 'PUT',
:path => url
)
end