lib/masheri/rest_client.rb in masheri-0.6.0 vs lib/masheri/rest_client.rb in masheri-0.6.1

- old
+ new

@@ -20,10 +20,10 @@ def developer_activity(service_id, options) query = developer_activity_query(service_id, options) response = ::RestClient.get(query.url) if query.format == "json" - JSON.parse(response) + response elsif query.format == "csv" response else raise UnknownFormat.new(query.format) end