lib/dbox/api.rb in dbox-0.6.15 vs lib/dbox/api.rb in dbox-0.7.0
- old
+ new
@@ -87,10 +87,10 @@
end
def handle_response(path, res, &else_proc)
case res
when Hash
- HashWithIndifferentAccess.new(res)
+ InsensitiveHash[res]
when String
res
when Net::HTTPNotFound
raise RemoteMissing, "#{path} does not exist on Dropbox"
when Net::HTTPForbidden