lib/archivesspace/client/client.rb in archivesspace-client-0.1.7 vs lib/archivesspace/client/client.rb in archivesspace-client-0.1.8

- old
+ new

@@ -16,14 +16,14 @@ def get(path, options = {}) request 'GET', path, options end def post(path, payload, params = {}) - request 'POST', path, { body: payload.to_json, query: params } + request 'POST', path, { body: payload, query: params } end def put(path, payload, params = {}) - request 'PUT', path, { body: payload.to_json, query: params } + request 'PUT', path, { body: payload, query: params } end def delete(path) request 'DELETE', path end