lib/soapy_cake/client.rb in soapy_cake-1.1.2 vs lib/soapy_cake/client.rb in soapy_cake-1.2.0
- old
+ new
@@ -19,10 +19,10 @@
request.time_offset = time_offset
url = "https://#{domain}#{request.path}"
body = HTTParty.post(url, headers: headers, body: request.xml).body
- response = Response.new(body)
+ response = Response.new(body, request.addedit?)
response.time_offset = time_offset
response.collection
end
private