lib/onering/api.rb in onering-client-0.0.39 vs lib/onering/api.rb in onering-client-0.0.40

- old
+ new

@@ -83,10 +83,10 @@ case options[:method] when :post request = Net::HTTP::Post.new(uri.request_uri) request['Content-Type'] = 'application/json' - request.body = options[:data].to_json if options[:data] + request.body = MultiJson.dump(options[:data]) if options[:data] when :delete request = Net::HTTP::Delete.new(uri.request_uri) else