lib/fog/riakcs/provisioning.rb in fog-1.10.1 vs lib/fog/riakcs/provisioning.rb in fog-1.11.0
- old
+ new
@@ -46,12 +46,10 @@
class Real
include Utils
def initialize(options = {})
require 'mime/types'
- require 'multi_json'
-
configure_uri_options(options)
@riakcs_access_key_id = options[:riakcs_access_key_id]
@riakcs_secret_access_key = options[:riakcs_secret_access_key]
@connection_options = options[:connection_options] || {}
@persistent = options[:persistent] || false
@@ -87,10 +85,10 @@
else
raise error
end
end
if !response.body.empty? && parse_response
- response.body = MultiJson.decode(response.body)
+ response.body = Fog::JSON.decode(response.body)
end
response
end
end