lib/fog/riakcs/requests/usage/get_usage.rb in fog-1.10.1 vs lib/fog/riakcs/requests/usage/get_usage.rb in fog-1.11.0
- old
+ new
@@ -35,10 +35,10 @@
def get_usage(access_key_id, options = {})
response = @connection.get_object('riak-cs', ["usage", request_uri(access_key_id, options)].join("/"))
if !response.body.empty?
- response.body = MultiJson.decode(response.body)
+ response.body = Fog::JSON.decode(response.body)
end
response
end
end