lib/mergent/client.rb in mergent-0.1.1 vs lib/mergent/client.rb in mergent-0.1.2
- old
+ new
@@ -18,10 +18,10 @@
https.use_ssl = true
response = https.request(request)
case response
when Net::HTTPSuccess
- JSON.parse(response.read_body, object_class: Mergent::Object)
+ JSON.parse(response.read_body)
else
begin
body = JSON.parse(response.read_body)
rescue JSON::ParserError
body = {}