Commit 35e16c64 authored by Chantal's avatar Chantal

Merge commit 'db9b03d0'

parents 98c0a948 db9b03d0
...@@ -145,6 +145,18 @@ module Wedoops ...@@ -145,6 +145,18 @@ module Wedoops
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
def delete(url)
#url = "Model/:id"
#url = "Model?ides=1,2,3,4...100" up to 100 records
self.login?
options = {}
options.merge!(build_header)
response=self.class.delete("/#{url}",options)
@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 }})
end
def query(coql) def query(coql)
self.login? self.login?
options = {} options = {}
......
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