Commit bf4db17d authored by Chantal's avatar Chantal

fix_upsert for testing purposes

parent b35a31f0
...@@ -127,7 +127,7 @@ module Wedoops ...@@ -127,7 +127,7 @@ module Wedoops
options[:body]=data options[:body]=data
options.merge!(build_header) options.merge!(build_header)
response=self.class.put("/#{url}",options) response=self.class.put("/#{url}/upsert",options)
@logger.debug("#{__method__}:#{response.request.last_uri.to_s}") @logger.debug("#{__method__}:#{response.request.last_uri.to_s}")
return manage_response(response,{:method=>__method__,:parameters => method(__method__).parameters.map { |arg| arg[1].to_s }}) return manage_response(response,{:method=>__method__,:parameters => method(__method__).parameters.map { |arg| arg[1].to_s }})
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment